2  Installation

Users can install the package from CRAN and load it as follows:

if (!requireNamespace("scanr", quietly = TRUE)) {
  install.packages("scanr")
}

library(scanr)

Alternatively, the development version of scanr can be installed directly from GitHub:

if (!requireNamespace("devtools", quietly = TRUE)) {
  install.packages("devtools")
}

devtools::install_github("Prabashoka/scanr")