import_ROCKproject {rock} | R Documentation |
Import a ROCK project from a ROCKproject file
Description
Import a ROCK project from a ROCKproject file
Usage
import_ROCKproject(
input,
path = ".",
createDirs = FALSE,
preventOverwriting = TRUE,
forceBaseZip = FALSE,
silent = rock::opts$get(silent)
)
Arguments
input |
The path to the ROCK project file (typically with the extension |
path |
The path where to store the ROCK project |
createDirs |
Whether to, if the |
preventOverwriting |
If the path already contains files, whether to
prevent them from being overwritten ( |
forceBaseZip |
Whether to force using the |
silent |
Whether to be chatty or silent |
Value
Invisibly, output
.
Examples
### Get path to example project
exampleProjectFile <-
system.file(
"ROCKprojects",
"example1.ROCKproject",
package="rock"
);
### Get a temporary directory to write to
temporaryDir <-
tempdir();
### Import the project
rock::import_ROCKproject(
input = exampleProjectFile,
path = temporaryDir,
silent = FALSE
);
[Package rock version 0.9.6 Index]