makePkgDir: makePkgDir

makePkgDirR 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


gmbecker/switchr documentation built on Feb. 24, 2023, 12:59 p.m.