r-lib / usethis
1
#' CRAN submission comments
2
#'
3
#' Creates `cran-comments.md`, a template for your communications with CRAN when
4
#' submitting a package. The goal is to clearly communicate the steps you have
5
#' taken to check your package on a wide range of operating systems. If you are
6
#' submitting an update to a package that is used by other packages, you also
7
#' need to summarize the results of your [reverse dependency
8
#' checks][use_revdep].
9
#'
10
#' @export
11
#' @inheritParams use_template
12
use_cran_comments <- function(open = rlang::is_interactive()) {
13 1
  check_is_package("use_cran_comments()")
14 1
  use_template(
15 1
    "cran-comments.md",
16 1
    data = list(rversion = glue("{version$major}.{version$minor}")),
17 1
    ignore = TRUE,
18 1
    open = open
19
  )
20
}

Read our documentation on viewing source code .

Loading