prMoveScript {tinyProject} | R Documentation |
Move, rename and delete scripts
Description
These functions can be used to pragrammatically move, rename and delete scripts files.
Usage
prMoveScript(name, newDir, subdir = ".")
prRenameScript(name, newName, subdir = ".")
prDeleteScript(name, subdir = ".")
Arguments
name |
Name of the script on which one wants to perform an action. |
newDir |
Subdirectory where to move a script. |
subdir |
Subdirectory of the script on which one wants to perform an action. It can
also be indicated directly in the |
newName |
New name of the script. |
See Also
Examples
projectPath <- file.path(tempdir(), "test")
prInit(projectPath)
prScript("test")
prMoveScript("test", "testdir")
prRenameScript("testdir/test", "myTest")
prDeleteScript("testdir/myTest")
[Package tinyProject version 0.6.1 Index]