makeSource: Create a PkgSource object for a package

Description Usage Arguments

View source: R/Utilities.R

Description

Create a PkgSource object for a package

Usage

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

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


switchr documentation built on Nov. 17, 2017, 7:54 a.m.