Create a new litr .Rmd document for creating an R package from bookdown
draft_bookdown.Rd
This template shows how to make an R package from bookdown
. It creates a directory called create-[pkg_name]
in dir
. Rendering the file index.Rmd
with litr::render()
creates the bookdown and package.
Arguments
- pkg_name
Name of package to be created.
- dir
(Optional) Directory where .Rmd file should be created