| makePkgDir {switchr} | R Documentation | 
makePkgDir
Description
This is an internal function not intended to be called directly by end users
Usage
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
)
Arguments
| 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 | 
Details
Create a directory and populate it with package source code from the specified source
Value
logical scalar indicating success (TRUE) or failure of
the operation.
[Package switchr version 0.14.8 Index]