Skip to contents

Creates skeleton review files:

  • index.Rmd: html_notebook to perform and record review in

  • README.md: prepopulated README for review repo.

index.Rmd will be automatically added to .Rbuildignore. The resulting templates are populated with default YAML frontmatter and R fenced code chunks (Rmd).

Usage

pkgreview_index_rmd(pkg_data, template = c("review", "editor"))

pkgreview_readme_md(pkg_data)

pkgreview_request(pkg_data)

Arguments

pkg_data

package metadata generated by pkgreview_getdata()

template

character string, one of review or editor.

Examples

if (FALSE) { # \dontrun{
pkg_data <- pkgreview_getdata(pkg_dir)
pkgreview_index_rmd(pkg_data)
pkgreview_readme_md(pkg_data)
} # }