Skip to contents

Set up the packages structure for an indiedown-based customized R Markdown template. See vignette("indiedown") for a more detailed usage example.

Usage

create_indiedown_package(path, overwrite = FALSE)

Arguments

path

Package path

overwrite

Should existing assets be overwritten?

Value

This function is called for its side effects and returns NULL, invisibly.

Details

The functionality that all template packages share lives in R/import-standalone-indiedown.R. Do not edit this file, update it from indiedown with usethis::use_standalone("cynkra/indiedown", "indiedown").

Examples

path <- file.path(tempdir(), "mydown")

# set up empty R Package 'mydown'
create_indiedown_package(path, overwrite = TRUE)
#> ✔ indiedown skeleton set up at /tmp/Rtmpujl8Jm/mydown
#> ℹ See `vignette("indiedown")` for how to customize the mydown package