From 4c7e6d2007687ed3665ac06a7d63b5373b0a6d91 Mon Sep 17 00:00:00 2001 From: Stef van Buuren Date: Sat, 3 Jun 2023 15:47:50 +0200 Subject: [PATCH] Use devtools::check() with _R_CHECK_DEPENDS_ONLY_=true environmental variable --- cran-comments.Rmd | 14 ++++++++++++++ cran-comments.md | 15 +++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/cran-comments.Rmd b/cran-comments.Rmd index 66e851eac..8dff5e66b 100644 --- a/cran-comments.Rmd +++ b/cran-comments.Rmd @@ -13,6 +13,7 @@ knitr::opts_chunk$set(echo = TRUE) This submission +- is a third resubmission, using `devtools::check(env_vars = c('_R_CHECK_DEPENDS_ONLY_' = "true"))` to mimmick CRAN incoming checks - is a second resubmission, with `\donttest` changed in `\dontrun` to evade `_R_CHECK_DEPENDS_ONLY_=true` errors; - is a resubmission of `mice 3.16.0` after the orphaned `ucminf` CRAN package got a new maintainer; - is tested with the `_R_CHECK_DEPENDS_ONLY_=true` flag, as requested; @@ -142,6 +143,19 @@ Status: OK ``` +```{r eval=FALSE} +devtools::check(env_vars = c('_R_CHECK_DEPENDS_ONLY_' = "true")) + +... + Status: OK + +── R CMD check results ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── mice 3.16.0 ──── +Duration: 1m 13s + +0 errors ✔ | 0 warnings ✔ | 0 notes ✔ +``` + + ## Downstream dependencies ### Overview diff --git a/cran-comments.md b/cran-comments.md index 8482e1dab..2beae97d2 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -7,6 +7,9 @@ cran-comments This submission +- is a third resubmission, using + `devtools::check(env_vars = c('_R_CHECK_DEPENDS_ONLY_' = "true"))` to + mimmick CRAN incoming checks - is a second resubmission, with `\donttest` changed in `\dontrun` to evade `_R_CHECK_DEPENDS_ONLY_=true` errors; - is a resubmission of `mice 3.16.0` after the orphaned `ucminf` CRAN @@ -170,6 +173,18 @@ env _R_CHECK_DEPENDS_ONLY_=true R CMD check mice_3.16.0.tar.gz Status: OK ``` +``` r +devtools::check(env_vars = c('_R_CHECK_DEPENDS_ONLY_' = "true")) + +... + Status: OK + +── R CMD check results ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── mice 3.16.0 ──── +Duration: 1m 13s + +0 errors ✔ | 0 warnings ✔ | 0 notes ✔ +``` + ## Downstream dependencies ### Overview