test_source: Testing source

Description Usage Arguments Examples

View source: R/source-test.r

Description

This makes it easy to convert a directory of DESCRIPTION files named with packagename.dcf in a source useful for testing.

Usage

1
  test_source(path = system.file("test-source", package = "packman"))

Arguments

path

path to directory containing .dcf files

Examples

1
2
3
4
s <- test_source()
s
has_package(s, "a")
package_info(s, "a")

hadley/packman documentation built on May 17, 2019, 11:04 a.m.