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 with a data set in it.

Usage

draft_data(pkg_name = "rhasdata", dir = ".")

Arguments

pkg_name

Name of package to be created.

dir

(Optional) Directory where .Rmd file should be created