Learn R Programming

switchr (version 0.14.8)

makeSource: Create a PkgSource object for a package

Description

Create a PkgSource object for a package

Usage

makeSource(
  url,
  type,
  user,
  password,
  scm_auth = list(),
  prefer_svn = FALSE,
  ...
)

Value

an object inheriting from PkgSource for the specified location of a package's source code.

Arguments

url

The url of the package sources

type

The source type.

user

A function which, when called, returns the username to use when when checking the soources out

password

A function which returns the password to use when checking out the sources

scm_auth

A list of username-password pairs, named with regular expressions to match against url when constructing the defaults for user and password

prefer_svn

Currently unused.

...

Passed directly to constructors for PkgSource superclasses