Skip to content

Commit

Permalink
Use devtools::check() with _R_CHECK_DEPENDS_ONLY_=true environmental …
Browse files Browse the repository at this point in the history
…variable
  • Loading branch information
stefvanbuuren committed Jun 3, 2023
1 parent 36092ea commit 4c7e6d2
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
14 changes: 14 additions & 0 deletions cran-comments.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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
Expand Down
15 changes: 15 additions & 0 deletions cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4c7e6d2

Please sign in to comment.