Skip to contents

Installation

  • You can install the development version of SelectSim from GitHub with:
# install.packages("devtools")
devtools::install_github("CSOgroup/SelectSim",dependencies = TRUE, build_vignettes = TRUE)

Installation with micromamba enviorment (prefered)

micromamba is a tiny version of the mamba package manager (Like Conda). Refer website for it’s installation guide.

Steps to follow after installing micromamba in a terminal:

micromamba create -n r_env
micromamba activate r_env
micromamba install conda-forge::r-base
micromamba install conda-forge::r-essentials
micromamba install conda-forge::r-devtools
micromamba install conda-forge::r-pak
micromamba install conda-forge::cmake
micromamba install conda-forge::r-rcppparallel
micromamba install conda-forge::r-rfast

  • After this run R and install SelectSim R package as follows
# install.packages("devtools")
devtools::install_github("CSOgroup/SelectSim",dependencies = TRUE, build_vignettes = TRUE)

OR

library('pak')
pak::pkg_install('CSOgroup/SelectSim')

Alternative way install with provided enviorment.yml file.

micromamba create -f enviorment.yml
micromamba activate r_env - After this run R and install SelectSim R package as follows

# install.packages("devtools")
devtools::install_github("CSOgroup/SelectSim",dependencies = TRUE, build_vignettes = TRUE)