| taf.skeleton | R Documentation |
Create initial directories and R scripts for a new TAF analysis.
taf.skeleton(path = ".", force = FALSE, pkgs = taf.pkg(),
model.script = "model.R", gitignore = TRUE)
path |
where to create initial directories and R scripts. The default is the current working directory. |
force |
whether to overwrite existing scripts. |
pkgs |
packages to load at the start of each script. The default is
either |
model.script |
model script filename, either |
gitignore |
whether to write TAF entries to a ‘.gitignore’ file. |
When gitignore = TRUE, the following entries will be written to a
.gitignore file, appending if the file exists already:
/boot/data /boot/library /boot/software /data /model /output /report *.Rproj .RData .Rhistory .Rproj.user .Ruserdata
Full path to analysis directory.
After running taf.skeleton() to create a new TAF workflow, the author
can populate the boot/initial/data folder with initial data files and
run draft.data(file=TRUE) to produce a DATA.bib file.
The next step is then to run taf.boot() to populate the
boot/data folder and start editing the data.R script, reading
files from the boot/data folder.
taf.example copies an example analysis from the TAF package.
package.skeleton creates an empty template for a new R package.
TAF-package gives an overview of the package.
## Not run:
taf.skeleton()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.