Description Usage Arguments Value Examples
Creates a series of mock packages, useful for testing and experimentation.
1 | create_mock_packages(path, dependency, repos = getOption("repos"))
|
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 |
a list of named packages, each of which corresponds to the devtools 'as.package' object
1 2 3 4 | path <- tempdir()
repos <- 'http://cran.rstudio.com'
dependency <- mock_dependency('RCurl', repos)
create_mock_packages(path, dependency, repos)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.