run_pacta | R Documentation |
Run the core steps of the PACTA methodology
run_pacta(env = ".env")
env |
String. Path to an environment file with pacta variables. |
Called for its side effect. Returns the first argument invisibly.
if (interactive()) {
local({
# Create a toy, temporary pacta project
pacta <- path_home("pacta_tmp")
local_pacta(pacta)
# Work from the pacta project for convenicenc
withr::local_dir(pacta)
# The ".env" file specifies the setup for input/ output/ and private data
readLines(".env")
# Before
dir_tree()
run_pacta()
# After
dir_tree()
})
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.