From fef4c9085cbf7bd8a468e80ef7418917ecf1a685 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Mon, 8 Apr 2019 09:05:25 +0200 Subject: [PATCH] mentions devtools::check_rhub() (#253) --- R/check-cran.R | 3 +++ man/check_for_cran.Rd | 3 +++ 2 files changed, 6 insertions(+) diff --git a/R/check-cran.R b/R/check-cran.R index d785214..a5e3dff 100644 --- a/R/check-cran.R +++ b/R/check-cran.R @@ -9,6 +9,9 @@ #' * It checks the package on R-release and R-devel. #' * It uses the `--as-cran` argument to `R CMD check`. #' * It requires all dependencies, including suggested ones. +#' +#' @details This function is wrapped by `devtools::check_rhub()` which you +#' might find useful if you load `devtools` via your .Rprofile (see `usethis::use_devtools()`). #' #' @param check_args Arguments for `R CMD check`. By default `--as-cran` #' is used. diff --git a/man/check_for_cran.Rd b/man/check_for_cran.Rd index 108d157..0222840 100644 --- a/man/check_for_cran.Rd +++ b/man/check_for_cran.Rd @@ -47,6 +47,9 @@ In particular, if \code{platforms} is \code{NULL} (the default), then \item It uses the \code{--as-cran} argument to \code{R CMD check}. \item It requires all dependencies, including suggested ones. } + +This function is wrapped by \code{devtools::check_rhub()} which you +might find useful if you load \code{devtools} via your .Rprofile (see \code{usethis::use_devtools()}). } \examples{ \dontrun{