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.

Usage

draft(pkg_name = "rhello", dir = ".")

Arguments

pkg_name

Name of package to be created.

dir

(Optional) Directory where .Rmd file should be created

Details

This is the most basic R package template, with one function and one test function.