Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type: Project in R DESCRIPTION files #19

Open
chendaniely opened this issue Apr 12, 2022 · 0 comments
Open

Type: Project in R DESCRIPTION files #19

chendaniely opened this issue Apr 12, 2022 · 0 comments

Comments

@chendaniely
Copy link
Contributor

chendaniely commented Apr 12, 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 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
@chendaniely chendaniely changed the title Type: Description in R DESCRIPTION files Type: Project in R DESCRIPTION files Apr 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant