Title: | Create a Pico Package |
---|---|
Description: | Generate a package skeleton with the minimum structure and content required for an R package. |
Authors: | Matt Dray [aut, cre] |
Maintainer: | Matt Dray <[email protected]> |
License: | CC0 |
Version: | 0.0.0.9000 |
Built: | 2024-11-19 05:40:41 UTC |
Source: | https://github.com/matt-dray/pico |
Generate a named directory in a specified location that contains the absolute
bare minimum content for an R package: a DESCRIPTION
file and an
R/
folder, which contains a demo functions.R
script file. The
user will be prompted interactively to overwrite if the directory already
exists.
create(name, dir)
create(name, dir)
name |
Character string, length 1. Name for your package. Alphanumeric or period characters only. Can't start with a number nor end with a period. |
dir |
Character string, length 1. Path to the directory where you want the package folder to be created. |
Nothing. A directory called name
is created or overwritten at
location dir
.
## Not run: create("mypkg", "~/Desktop")
## Not run: create("mypkg", "~/Desktop")