Description Usage Arguments Functions Examples
View source: R/createAnalysisProject.R
Create a project laid out for an analysis project
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | createAnalysisProject(
name,
title = NULL,
folder = getwd(),
initial_status = "wip",
dirs = c("data", "analysis", "outputs"),
packagedeps = "renv",
git = TRUE,
external_setup = list(git_service = "GitHub", login = gh::gh_whoami()$login, private =
FALSE, protocol = "ssh", ci_activation = "travis"),
reset = TRUE,
open = FALSE
)
create_analysis_project(
name,
title = NULL,
folder = getwd(),
initial_status = "wip",
dirs = c("data", "analysis", "outputs"),
packagedeps = "renv",
git = TRUE,
external_setup = list(git_service = "GitHub", login = gh::gh_whoami()$login, private =
FALSE, protocol = "ssh", ci_activation = "travis"),
reset = TRUE,
open = FALSE
)
|
name |
Project |
title |
"What the Project Does (One Line, Title Case)" If NULL, a random one will be generated. |
folder |
Folder under which to create the project |
initial_status |
initial repostatus.org status for the project, whose badge will be added to the README. |
dirs |
Directories to create |
packagedeps |
Set a tool for package reproducibility |
git |
Configure Git |
external_setup |
How to do the partly interactive setup of online git, CI and coverage platforms. If NULL, no setup.
|
reset |
Whether to reset the project to current project |
open |
Whether to open the newly created project (in another RStudio session) |
create_analysis_project
: aesthetic addition for continuity purposes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
folder <- tempdir()
createAnalysisProject(
name = "doggos", title = "Counting cute dogs",
folder = folder,
packagedeps = "none",
git = TRUE, external_setup = NULL,
reset = TRUE,
dirs = c("cats", "dogs"),
open = FALSE
)
list.files(file.path(folder, "doggos"))
unlink(file.path(folder, "doggos"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.