You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just a note for myself since I'm not that familiar with the course content ... yet?
Adding Type: Project to an R DESCRIPTION file will allow you to treat the R/ folder as a place to put project-related functions, and be able to "install" the project as a package with devtools::load_all() without having to manually source the R/ directory.
Example DESCRIPTION file:
Type: Project
Package: mySuperFunProject
Title: Let's analyze some data!
Version: 0.0.0.9000
Authors@R:
person(given = "Daniel",
family = "Chen",
role = c("aut", "cre"),
email = "example@example.com")
Description: Let's analyze some data!
Encoding: UTF-8
Imports:
tidyverse,
readr,
glue,
dplyr,
magrittr
LazyData: true
The text was updated successfully, but these errors were encountered:
chendaniely
changed the title
Type: Description in R DESCRIPTION files
Type: Project in R DESCRIPTION files
Apr 13, 2022
Just a note for myself since I'm not that familiar with the course content ... yet?
Adding
Type: Project
to an R DESCRIPTION file will allow you to treat theR/
folder as a place to put project-related functions, and be able to "install" the project as a package withdevtools::load_all()
without having to manually source theR/
directory.Example DESCRIPTION file:
The text was updated successfully, but these errors were encountered: