create_package_description: A Utility function for creating rbundler scenarios.

Description Usage Arguments Examples

View source: R/create_package_description.r

Description

A Utility function for creating rbundler scenarios.

Usage

1

Arguments

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.

Examples

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

rbundler documentation built on May 20, 2017, 12:51 a.m.

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

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

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

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