Defines functions use_cran_comments

Documented in use_cran_comments

#' CRAN submission comments
#' Creates `cran-comments.md`, a template for your communications with CRAN when
#' submitting a package. The goal is to clearly communicate the steps you have
#' taken to check your package on a wide range of operating systems. If you are
#' submitting an update to a package that is used by other packages, you also
#' need to summarize the results of your [reverse dependency
#' checks][use_revdep].
#' @export
#' @inheritParams use_template
use_cran_comments <- function(open = rlang::is_interactive()) {
    data = list(rversion = glue("{version$major}.{version$minor}")),
    ignore = TRUE,
    open = open

Try the usethis package in your browser

Any scripts or data that you put into this service are public.

usethis documentation built on Oct. 17, 2021, 1:06 a.m.