nestanyol / CoolBeans

Multi-metabolite signatures from exposure features
Other
1 stars 0 forks source link

Run `usethis::use_package()` while in the package to add your package dependencies #5

Closed lwjohnst86 closed 1 year ago

lwjohnst86 commented 1 year ago

Using usethis::use_package() in the Console while inside the R package project, for each of the packages you need to use, will add these packages as dependencies to your DESCRIPTION file. This file is one of three needed files in order for R to be able to install a folder as a package. (A package is literally a set of folders that follow a specific convention. In this case, the folder MUST contain a DESCRIPTION file, a NAMESPACE file that is created automatically from devtools::document(), and the R/ folder with the R files that contain the functions inside.)