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
renv
environment:renv::init()
This will create a new directory called
.renv
in your current project directory. - You can then install packages with the following command:
renv::install_packages()
- You can also use the
renv
package manager to install Bioconductor packages by running the following command:renv::install("bioc::package name")
- For example, to install the
Biobase
package, you would run the following:renv::install("bioc::Biobase")
- You can use
renv
to install development packages from GitHub, like so:renv::install("user name/repo name")
- For example, to install the
danmaclean
user’srbioinfcookbook
package, you would run the...