Technical requirements
We will use renv to manage packages in a project-specific way. To use renv to install packages, you will first need to install the renv package. You can do this by running the following commands in your R console:
- Install
renv:install.packages("renv") - Create a new
renvenvironment:renv::init()
This will create a new directory called
.renvin your current project directory. - You can then install packages with the following:
renv::install_packages()
- You can also use the
renvpackage manager to install Bioconductor packages by running the following command:renv::install("bioc::package name") - For example, to install the
Biobasepackage, you would run the following:renv::install("bioc::Biobase") - You can use
renvto install development packages from GitHub with this command:renv::install("user name/repo name") - For example, to install the user
danmacleanpackagerbioinfcookbook, you would run the following...