makeSource: Create a PkgSource object for a package

View source: R/Utilities.R

makeSourceR Documentation

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,
  ...
)

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


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