create_mock_packages: Creates a series of mock packages, useful for testing and...

Description Usage Arguments Value Examples

Description

Creates a series of mock packages, useful for testing and experimentation.

Usage

1
create_mock_packages(path, dependency, repos = getOption("repos"))

Arguments

path

the path in which to create the mock packages

dependency

the dependency to create in the mock packages

repos

the repositories to use for the contrib.url path

Value

a list of named packages, each of which corresponds to the devtools 'as.package' object

Examples

1
2
3
4
path <- tempdir()
repos <- 'http://cran.rstudio.com'
dependency <- mock_dependency('RCurl', repos)
create_mock_packages(path, dependency, repos)


Search within the rbundler package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.