Description Usage Arguments Value Examples
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.
1 |
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
.
1 | ## Not run: create("mypkg", "~/Desktop")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.