Skip to contents

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.

Usage

draft_bookdown(pkg_name = "frombookdown", dir = ".")

Arguments

pkg_name

Name of package to be created.

dir

(Optional) Directory where .Rmd file should be created