Description Usage Arguments Details Value See Also Examples
If you want to test the effects of
roxy.package
,
archive.packages
or debianize
, you can
activate a sandbox with this function.
1 2 3 |
active |
Logical, whether sandboxing should be active or not |
sandbox.dir |
Character string, full path to the sandbox root directory to use. Will be created if neccessary (at first use, not when setting this here!). |
pck.source.dir |
Logical, whether to sandbox the
package sources. If |
R.libs |
Logical, whether to sandbox the R library
directory, that is, the directory to install the package
to. Since this needs also to provide all package
dependencies, those packages will be copied to
|
repo.root |
Logical, whether to sandbox the
repository. This repository will be set up in
|
archive |
Logical, whether to sandbox the repository
archive. The archive will be set up in
|
Sandboxing means that you are able to specify which groups of actions should only be run in a separate environment. This can be useful if you don't want to make changes to your actual package code, but inspect the result first.
With this function, you can turn sandboxing on and off. This setting has effects only in the currently running R session. By default, sandboxing is off.
Settings are stored in an internal environment, so there is no actual return value.
sandbox.status
to
see the current settings.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.