makePkgDir | R Documentation |
This is an internal function not intended to be called directly by end users
makePkgDir( name, source, path, latest_only, param = SwitchrParam(), forceRefresh = FALSE ) ## S4 method for signature 'ANY,SVNSource' makePkgDir( name, source, path, latest_only = FALSE, param = SwitchrParam(), forceRefresh = FALSE ) ## S4 method for signature 'ANY,GithubSource' makePkgDir( name, source, path, latest_only = FALSE, param = SwitchrParam(), forceRefresh = FALSE ) ## S4 method for signature 'ANY,GitSource' makePkgDir( name, source, path, latest_only = FALSE, param = SwitchrParam(), forceRefresh = FALSE ) ## S4 method for signature 'ANY,ANY' makePkgDir( name, source, path, latest_only, param = SwitchrParam(), forceRefresh = FALSE ) ## S4 method for signature 'ANY,CRANSource' makePkgDir( name, source, path, latest_only, param = SwitchrParam(), forceRefresh = FALSE ) ## S4 method for signature 'ANY,BiocSource' makePkgDir( name, source, path, latest_only, param = SwitchrParam(), forceRefresh = FALSE ) ## S4 method for signature 'ANY,TarballSource' makePkgDir( name, source, path, latest_only, param = SwitchrParam(), forceRefresh = FALSE ) ## S4 method for signature 'ANY,LocalSource' makePkgDir( name, source, path, latest_only, param = SwitchrParam(), forceRefresh = FALSE )
name |
The package |
source |
A PkgSource |
path |
The path to place the directory |
latest_only |
Should a fastpath for downloading the latest commit in a SCM package without a formal checkout be used? |
param |
A SwitchrParam |
forceRefresh |
Should an existing instance of the package source be deleted/refreshed |
Create a directory and populate it with package source code from the specified source
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.