Description Usage Arguments Examples
A Utility function for creating rbundler scenarios.
1 | create_package_description(name, title, dependencies)
|
name |
the name of the package to create |
title |
the title of the package to create |
dependencies |
a data.frame with dependency type, package, compare, version set. |
1 2 3 4 5 6 7 | name <- 'simpledependency'
title <- 'A mock package with a single dependency.'
dependencies <- data.frame(type = c('Depends', 'Suggests'), package=c('foo', 'bar'),
compare=c(NA, '=='), version=c(NA, '1'))
description <- create_package_description(name, title, dependencies)
write(description, file='') # Write the output to the console
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.