Skip to contents

This creates create-[pkg_name].Rmd that when knitted (i.e., when passed to litr::render()) will create an R package called pkg_name. This template shows how to make an R package that has "extras" such as a README, vignette(s), a pkgdown site, and a hex sticker.

Usage

draft_extras(pkg_name = "withpkgdown", dir = ".")

Arguments

pkg_name

Name of package to be created.

dir

(Optional) Directory where .Rmd file should be created