{
  "_id": "6a16bc18acfb0bcc41d871e7",
  "Package": "visa",
  "Type": "Package",
  "Title": "Vegetation Imaging Spectroscopy Analyzer",
  "Version": "1.0.0.9000",
  "Authors@R": "person(\"Kang\", \"Yu\", email = \"kang.yu@outlook.com\",\nrole = c(\"aut\", \"cre\"))",
  "Description": "Provides easy-to-use tools for data analysis and\nvisualization for hyperspectral remote sensing (also known as\nimaging spectroscopy), with a particular focus on vegetation\nhyperspectral data analysis. It consists of a set of functions,\nranging from the organization of hyperspectral data in the\nproper data structure for spectral feature selection,\ncalculation of vegetation index, multivariate analysis, as well\nas to the visualization of spectra and results of analysis in\nthe 'ggplot2' style.",
  "License": "GPL-3",
  "LazyData": "true",
  "Encoding": "UTF-8",
  "URL": "https://github.com/kang-yu/visa",
  "BugReports": "https://github.com/kang-yu/visa/issues",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "Collate": "'visa.R' 'Spectra-class.R' 'cm.nsr.R' 'cm.rbd3.R' 'cm.sr.R'\n'data-specdf.R' 'data-speclib.R' 'find.bestBands.R'\n'ggplot-method.R' 'ggplot.cm.R' 'ggplot.lmfit.R'\n'ggplot.spectra.R' 'ndvi2.R' 'nsr.R' 'plt.2dcm.R'\n'plt.3dcm_best.R' 'spectra.R' 'sr.R' 'wavelength.R'",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev libssl-dev",
  "Repository": "https://kang-yu.r-universe.dev",
  "Date/Publication": "2025-03-31 18:44:25 UTC",
  "RemoteUrl": "https://github.com/kang-yu/visa",
  "RemoteRef": "HEAD",
  "RemoteSha": "6d59cc2c5bf7623f63917a4bbbd5ad0b0e06c0a7",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-27 09:35:56 UTC",
    "User": "root"
  },
  "Author": "Kang Yu [aut, cre]",
  "Maintainer": "Kang Yu <kang.yu@outlook.com>",
  "MD5sum": "4a0c94e038e59492d9ac7d9406bfeffc",
  "_user": "kang-yu",
  "_type": "src",
  "_file": "visa_1.0.0.9000.tar.gz",
  "_fileid": "3488d0eda245323d935412a70d0eca230c8a3e160c814c4f4ec43ce618162164",
  "_filesize": 476774,
  "_sha256": "3488d0eda245323d935412a70d0eca230c8a3e160c814c4f4ec43ce618162164",
  "_created": "2026-05-27T09:35:56.000Z",
  "_published": "2026-05-27T09:40:40.566Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78049085209,
      "time": 218,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7237083168"
    },
    {
      "job": 78049085064,
      "time": 201,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7237077199"
    },
    {
      "job": 78049085115,
      "time": 232,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7237073319"
    },
    {
      "job": 78049085094,
      "time": 197,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7237064551"
    },
    {
      "job": 78048389246,
      "time": 255,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7237008198"
    },
    {
      "job": 78049085193,
      "time": 138,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7237056509"
    },
    {
      "job": 78049085158,
      "time": 129,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7237053492"
    },
    {
      "job": 78049085152,
      "time": 148,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7237059672"
    },
    {
      "job": 78049085130,
      "time": 137,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7237056056"
    }
  ],
  "_buildurl": "https://github.com/r-universe/kang-yu/actions/runs/26503078877",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/kang-yu/visa",
  "_commit": {
    "id": "6d59cc2c5bf7623f63917a4bbbd5ad0b0e06c0a7",
    "author": "Kang Yu <kang.yu@live.com>",
    "committer": "Kang Yu <kang.yu@live.com>",
    "message": "typo in cm.sr\n",
    "time": 1743446665
  },
  "_maintainer": {
    "name": "Kang Yu",
    "email": "kang.yu@outlook.com",
    "login": "kang-yu",
    "description": "i am not a robot",
    "uuid": 5942249
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggpmisc",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "plot3D",
      "role": "Imports"
    },
    {
      "package": "plotly",
      "role": "Imports"
    },
    {
      "package": "reshape2",
      "role": "Imports"
    },
    {
      "package": "RColorBrewer",
      "role": "Imports"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "stringi",
      "role": "Suggests"
    }
  ],
  "_owner": "kang-yu",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "kang-yu",
      "count": 205,
      "uuid": 5942249
    }
  ],
  "_userbio": {
    "uuid": 5942249,
    "type": "user",
    "name": "Kang Yu",
    "description": "i am not a robot"
  },
  "_downloads": {
    "count": 180,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/visa"
  },
  "_devurl": "https://github.com/kang-yu/visa",
  "_searchresults": 71,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/visa.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/kang-yu/visa",
  "_realowner": "kang-yu",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2021-04-20"
    },
    {
      "version": "1.0.0",
      "date": "2025-03-22"
    }
  ],
  "_exports": [
    "as.spectra",
    "as.spectra.dataframe",
    "as.spectra.library",
    "as.spectra.matrix",
    "cm.nsr",
    "cm.rbd3",
    "cm.sr",
    "find.bestBands",
    "ggplot.spectra",
    "lm.nsr",
    "lm.sr",
    "ndvi2",
    "nsr",
    "plt.2dcm",
    "plt.3dcm_best",
    "spectra",
    "sr",
    "wavelength"
  ],
  "_datasets": [
    {
      "name": "NSpec.DF",
      "title": "Example data in the Spectra.Dataframe format",
      "object": "NSpec.DF",
      "class": [
        "data.frame"
      ],
      "fields": [
        "N",
        "spectra"
      ],
      "rows": 19,
      "table": false,
      "tojson": true
    },
    {
      "name": "NSpec.Lib",
      "title": "Example data in the Spectra/SpectraLibrary format.",
      "object": "NSpec.Lib",
      "class": [
        "Spectra"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "SpectraDataframe",
      "title": "Create a SpectraDataframe",
      "topics": [
        "as.specdf",
        "as.spectra.dataframe"
      ]
    },
    {
      "page": "cm.nsr",
      "title": "Selecting the best 2-Band combinations for Normalized Simple Ratio (NSR)",
      "topics": [
        "cm.nsr"
      ]
    },
    {
      "page": "cm.rbd3",
      "title": "Calculate 3-Band Correlation Array for Spectral Data correlating with another variable x",
      "topics": [
        "cm.rbd3"
      ]
    },
    {
      "page": "cm.sr",
      "title": "Selecting the best 2-Band combinations for Simple Ratio (SR)",
      "topics": [
        "cm.sr"
      ]
    },
    {
      "page": "find.bestBands",
      "title": "Find Best Band Combinations",
      "topics": [
        "find.bestBands"
      ]
    },
    {
      "page": "ggplot-method",
      "title": "Plot functions",
      "topics": [
        "ggplot-method",
        "ggplot.lmfit"
      ]
    },
    {
      "page": "ggplot.cm",
      "title": "Create a ggplot Plot from Correlation Coefficients (Deprecated)",
      "topics": [
        "ggplot.cm"
      ]
    },
    {
      "page": "ggplot.spectra",
      "title": "Create a new ggplot plot with a geom_line() layer from spectra data",
      "topics": [
        "ggplot.spectra"
      ]
    },
    {
      "page": "ndvi2",
      "title": "Calculate and plot a 2-band NDVI.",
      "topics": [
        "ndvi2"
      ]
    },
    {
      "page": "NSpec.DF",
      "title": "Example data in the Spectra.Dataframe format",
      "topics": [
        "Data-Spectra.Dataframe",
        "NSpec.DF"
      ]
    },
    {
      "page": "NSpec.Lib",
      "title": "Example data in the Spectra/SpectraLibrary format.",
      "topics": [
        "Data-speclib,",
        "Data-Spectra",
        "Data-SpectraLibrary,",
        "NSpec.Lib"
      ]
    },
    {
      "page": "nsr",
      "title": "Calculate Normalized Simple Ratio (NSR) index.",
      "topics": [
        "lm.nsr",
        "nsr"
      ]
    },
    {
      "page": "plt.2dcm",
      "title": "Create a ggplot Plot from a 2D Correlation Matrix",
      "topics": [
        "plt.2dcm"
      ]
    },
    {
      "page": "plt.3dcm_best",
      "title": "Create a 3D Slice Plot of Correlation Array",
      "topics": [
        "plt.3dcm_best"
      ]
    },
    {
      "page": "spectra-methods",
      "title": "Access the spectra data of 'SpectraLibrary'.",
      "topics": [
        "spectra",
        "spectra,data.frame,ANY-method",
        "spectra,data.frame-method",
        "spectra,matrix,ANY-method",
        "spectra,matrix-method",
        "spectra,Spectra,ANY-method",
        "spectra,Spectra-method"
      ]
    },
    {
      "page": "Spectra-class",
      "title": "Create a Spectra or SpectraLibrary",
      "topics": [
        "as.spectra",
        "as.spectra.library",
        "Spectra",
        "Spectra,Spectra-class",
        "Spectra-class"
      ]
    },
    {
      "page": "SpectraDataFrame-class",
      "title": "Class 'SpectraDataframe'",
      "topics": [
        "spectra.dataframe",
        "SpectraDataframe,",
        "SpectraDataframe-class"
      ]
    },
    {
      "page": "SpectraLibrary-class",
      "title": "Class 'SpectraLibrary'",
      "topics": [
        "speclib",
        "SpectraLibrary-class",
        "SpectraLibrary-class,spectra.library,"
      ]
    },
    {
      "page": "SpectraMatrix-class",
      "title": "Class 'SpectraMatrix'",
      "topics": [
        "as.spectra.matrix",
        "spectra.maxtrix",
        "SpectraMatrix-class",
        "SpectraMatrix-class,"
      ]
    },
    {
      "page": "sr",
      "title": "Calculate Simple Ratio (SR).",
      "topics": [
        "lm.sr",
        "sr"
      ]
    },
    {
      "page": "wavelength",
      "title": "Retrieve Wavelength Information from Spectra Objects",
      "topics": [
        "wavelength",
        "wavelength,data.frame,ANY-method",
        "wavelength,data.frame-method",
        "wavelength,matrix,ANY-method",
        "wavelength,matrix-method",
        "wavelength,Spectra,ANY-method",
        "wavelength,Spectra-method",
        "wavlen"
      ]
    }
  ],
  "_readme": "https://github.com/kang-yu/visa/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "base64enc",
    "bitops",
    "boot",
    "bslib",
    "cachem",
    "caTools",
    "cli",
    "confintr",
    "cpp11",
    "crosstalk",
    "curl",
    "data.table",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "fs",
    "generics",
    "ggplot2",
    "ggpmisc",
    "ggpp",
    "glue",
    "gridExtra",
    "gtable",
    "highr",
    "htmltools",
    "htmlwidgets",
    "httr",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "later",
    "lattice",
    "lazyeval",
    "lifecycle",
    "lubridate",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "memoise",
    "mime",
    "misc3d",
    "openssl",
    "otel",
    "pillar",
    "pkgconfig",
    "plot3D",
    "plotly",
    "plyr",
    "polynom",
    "promises",
    "purrr",
    "quantreg",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "reshape2",
    "rlang",
    "rmarkdown",
    "S7",
    "sass",
    "scales",
    "SparseM",
    "splus2R",
    "stringi",
    "stringr",
    "survival",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "tinytex",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "xts",
    "yaml",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "visa.Rmd",
      "filename": "visa.html",
      "title": "Introduction to visa",
      "author": "Kang Yu (GitHub Profile)",
      "engine": "knitr::rmarkdown",
      "headings": [
        "New features in the updates",
        "Data",
        "Built on data.frame",
        "S4 class Spectra and SpectraDatabase",
        "Functions",
        "Computing correlation matrix between 2-band NSR and another variable",
        "Plotting correlation matrix (2D array)",
        "More Examples and Details",
        "2-band combinations",
        "3-band combinations",
        "Example data NSpec.Lib",
        "Example data NSpec.DF",
        "Accessing data",
        "Compatibility",
        "Data format conversion",
        "Future development"
      ],
      "created": "2021-04-16 14:43:36",
      "modified": "2025-03-18 11:35:55",
      "commits": 8
    }
  ],
  "_score": 5.027349607774756,
  "_indexed": true,
  "_nocasepkg": "visa",
  "_universes": [
    "kang-yu"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0.9000",
      "date": "2026-05-27T09:38:54.000Z",
      "distro": "noble",
      "commit": "6d59cc2c5bf7623f63917a4bbbd5ad0b0e06c0a7",
      "fileid": "a19ef4a192bfd0d19ad7cbf2aabf87c26642fe4ac00141e6de6d501d94858994",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kang-yu/actions/runs/26503078877"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0.9000",
      "date": "2026-05-27T09:38:46.000Z",
      "distro": "noble",
      "commit": "6d59cc2c5bf7623f63917a4bbbd5ad0b0e06c0a7",
      "fileid": "18b63ce6fbe3c6f1845d2acc59f65530df02b83388c03f9eb51d18a3a06542f4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kang-yu/actions/runs/26503078877"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0.9000",
      "date": "2026-05-27T09:38:39.000Z",
      "commit": "6d59cc2c5bf7623f63917a4bbbd5ad0b0e06c0a7",
      "fileid": "f351b614298a04f317f10d690291bcae66bd3409a044d29499f4dcccea22a5d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kang-yu/actions/runs/26503078877"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0.9000",
      "date": "2026-05-27T09:38:23.000Z",
      "commit": "6d59cc2c5bf7623f63917a4bbbd5ad0b0e06c0a7",
      "fileid": "bbdebadb8e10697a9f389bb8e3543eb3c9e75dc542e7233b7d7008f31b4b65a9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kang-yu/actions/runs/26503078877"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0.9000",
      "date": "2026-05-27T09:38:48.000Z",
      "commit": "6d59cc2c5bf7623f63917a4bbbd5ad0b0e06c0a7",
      "fileid": "03d3fe0671c62e871ca57ae1943205532acb65bb9505008a2b18741cbf1fdda1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/kang-yu/actions/runs/26503078877"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0.9000",
      "date": "2026-05-27T09:37:52.000Z",
      "commit": "6d59cc2c5bf7623f63917a4bbbd5ad0b0e06c0a7",
      "fileid": "60ec2ceac6ff5362f70a68ebbce702c4efa61fcdb1a66ca9f465b759ed11dd76",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kang-yu/actions/runs/26503078877"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0.9000",
      "date": "2026-05-27T09:37:50.000Z",
      "commit": "6d59cc2c5bf7623f63917a4bbbd5ad0b0e06c0a7",
      "fileid": "f5134fe5ada424ae77bbae7eb3c64f3060dfde7c279d20e35866196f4a774874",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kang-yu/actions/runs/26503078877"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0.9000",
      "date": "2026-05-27T09:37:39.000Z",
      "commit": "6d59cc2c5bf7623f63917a4bbbd5ad0b0e06c0a7",
      "fileid": "d97dad1e0ddee07dd3595b3b9d2ff4ee79e4eb072e14eefcf927ea3193022814",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/kang-yu/actions/runs/26503078877"
    }
  ]
}