Skip to contents

Copies the package template into path and names the package.

Usage

create_mordew(path, package_name = basename(path), overwrite = FALSE)

Arguments

path

Directory to create.

package_name

Name of the package.

overwrite

Whether to delete and replace an existing path.

Value

Nothing: called to write the package.

Examples

path <- file.path(
  tempfile(),
  "runlog"
)
create_mordew(
  path
)
list.files(
  path
)
#> [1] "DESCRIPTION" "NAMESPACE"   "R"           "dev"         "inst"       
#> [6] "tests"