The silo R-package is a multi-criteria optimization tool intended for selection of species for monitoring or indicator assessment with an emphasis on representativeness of the selected species list.
The methodology is quite general and should be easily applicable outside of the field of biological and genetic diversity.
The package is documented in its help files and vignettes. Additionally an upcoming publication will describe overall methodology more generally.
To install the development version of this package you have two options:
-
Use the
devtoolsR-package. In an R session run the commanddevtools::install_github("sykefi/r-silo", subdir = "silo"). -
Clone the repository and install locally. Run
git clone https://github.com/sykefi/r-silo.giton the command line, enter the repositorycd r-silo/siloand run the commandsR CMD build silo. Alternatively run the commandmake installif Make is available in ther-silo/directory. Installation on Windows will require Rtools.
The root directory of the repository contains a Makefile that can help with development of the package.
It has the following targets.
check: Run the R CMD check in CRAN mode.clean: Remove all generated files ignored by the git from the repository.format: Reformat C++ and R code in the repository.install: Install the package locally.rcpp: Create the Rcpp interface files, run automatically by targets requiring it.test: Run thetinytesttest suite.data: Recreate the test and demonstration data used by the package.
To reattach the package in a running R-session after installing a new version, run
detach("package:silo", unload = TRUE); library("silo")The test data set is generated from the Finnish Biodiversity Information Facility species checklist and the Red List of Finnish Species.