A Utility function for creating rbundler scenarios.

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