Skip to content
Snippets Groups Projects

Resolve "Migrate `getDataPath` function and environment"

Merged David Dorchies requested to merge 2-migrate-getdatapath-function-and-environment into main
Files
3
+ 5
0
@@ -28,6 +28,9 @@ create_fairify <-
file.copy(from = system.file("R", package = "fairify"),
to = path,
recursive = TRUE)
file.copy(from = system.file("config.yml", package = "fairify"),
to = file.path(path, "inst")
)
if (tidy) {
usethis::local_project(path)
usethis::use_testthat()
@@ -40,6 +43,8 @@ create_fairify <-
if (with_reports)
create_reports(path = path)
usethis::use_package("fairify", "Depends")
message("Fairify project created")
message("Don't forget to edit the file `inst/config.yml` for configuring the data location for your project")
if (open) {
usethis::proj_activate(path)
}
Loading