View source: R/utils-archive.R
install_subject | R Documentation |
Install a subject from the internet, a zip file or a directory
install_subject(
path = ".",
ask = interactive(),
overwrite = FALSE,
backup = TRUE,
use_cache = TRUE,
dry_run = FALSE,
force_project = NA,
force_subject = NA,
...
)
path |
path to subject archive, can be a path to directory, a zip file,
or an internet address (must starts with |
ask |
when |
overwrite |
whether to overwrite existing subject, see argument
|
backup |
whether to back-up the subject when overwriting the data; default is true, which will rename the old subject folders instead of removing; set to true to remove existing subject. |
use_cache |
whether to use cached extraction directory; default is
true. Set it to |
dry_run |
whether to dry-run the process instead of actually installing; this rehearsal can help you see the progress and prevent you from losing data |
force_project , force_subject |
force set the project or subject; will raise a warning as this might mess up some pipelines |
... |
passed to |
# Please run 2nd example of function archive_subject
## Not run:
install_subject(path)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.