Skip to content

Commit

Permalink
Check revdeps
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Jan 10, 2025
1 parent 2025763 commit 241d2c7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 127 deletions.
7 changes: 5 additions & 2 deletions cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

0 errors | 0 warnings | 0 notes

## revdep checks
## revdepcheck results

I did not re-check revdeps as this change only affects Rmd/qmd files with errors, which obviously don't exist on CRAN.
We checked 21 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.

* We saw 0 new problems
* We failed to check 0 packages
7 changes: 0 additions & 7 deletions revdep/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,2 @@
# Revdeps

## New problems (2)

|package |version |error |warning |note |
|:----------|:-------|:-----|:-------|:------|
|[knitr](problems.md#knitr)|1.48 |1 | |__+1__ |
|[multiverse](problems.md#multiverse)|0.6.1 |1 | |__+1__ |

4 changes: 3 additions & 1 deletion revdep/cran.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

We checked 21 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.

I also worked with Kurt to check all packages that use knitr, since evaluate powers knitr. Of the 221 packages I either couldn't check or failed their checks, 7 had failures on Kurt's check machine. I reported all problems upstream, providing patches where necessary. You can see a summary of my actions at https://github.com/r-lib/evaluate/issues/210#issuecomment-2339048094.
* We saw 0 new problems
* We failed to check 0 packages

118 changes: 1 addition & 117 deletions revdep/problems.md
Original file line number Diff line number Diff line change
@@ -1,117 +1 @@
# knitr

<details>

* Version: 1.48
* GitHub: https://github.com/yihui/knitr
* Source code: https://github.com/cran/knitr
* Date/Publication: 2024-07-07 14:00:01 UTC
* Number of recursive dependencies: 85

Run `revdepcheck::cloud_details(, "knitr")` for more info

</details>

## Newly broken

* checking dependencies in R code ... NOTE
```
Namespace in Imports field not imported from: ‘methods’
All declared Imports should be used.
```
## In both
* checking tests ... ERROR
```
Running ‘run-all.R’
Running the tests in ‘tests/run-all.R’ failed.
Complete output:
> library(testit)
> test_pkg("knitr")
Error in `getMetricsFromLatex()`:
!
TeX was unable to calculate metrics for:
...
6. knitr:::call_block(x)
...
13. base::withRestarts(...)
14. base (local) withRestartList(expr, restarts)
15. base (local) withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]])
16. base (local) docall(restart$handler, restartArgs)
18. evaluate (local) fun(base::quote(`<smplErrr>`))
Quitting from lines 4-5 [testfig] (knit-tikzDevice.Rnw)
Execution halted
```
# multiverse
<details>
* Version: 0.6.1
* GitHub: https://github.com/MUCollective/multiverse
* Source code: https://github.com/cran/multiverse
* Date/Publication: 2022-07-04 13:20:02 UTC
* Number of recursive dependencies: 133
Run `revdepcheck::cloud_details(, "multiverse")` for more info
</details>
## Newly broken
* checking re-building of vignette outputs ... NOTE
```
Error(s) in re-building vignettes:
--- re-building ‘branch.Rmd’ using rmarkdown
--- finished re-building ‘branch.Rmd’
--- re-building ‘conditions.Rmd’ using rmarkdown
--- finished re-building ‘conditions.Rmd’
--- re-building ‘durante-multiverse-analysis.Rmd’ using rmarkdown
--- finished re-building ‘durante-multiverse-analysis.Rmd’
...
--- finished re-building ‘multiverse-in-rmd.Rmd’
--- re-building ‘visualising-multiverse.Rmd’ using rmarkdown
--- finished re-building ‘visualising-multiverse.Rmd’
SUMMARY: processing the following file failed:
‘frequentist-multiverse-analysis.Rmd’
Error: Vignette re-building failed.
Execution halted
```
## In both
* checking running R code from vignettes ... ERROR
```
Errors in running code in vignettes:
when running code in ‘branch.Rmd’
...
> M = multiverse()
> M = multiverse()
> execute_multiverse(M)
...
Execution halted
‘branch.Rmd’ using ‘UTF-8’... failed
‘conditions.Rmd’ using ‘UTF-8’... OK
‘durante-multiverse-analysis.Rmd’ using ‘UTF-8’... OK
‘execution-multiverse.Rmd’ using ‘UTF-8’... OK
‘frequentist-multiverse-analysis.Rmd’ using ‘UTF-8’... failed
‘hurricane.Rmd’ using ‘UTF-8’... OK
‘multiverse-in-rmd.Rmd’ using ‘UTF-8’... OK
‘visualising-multiverse.Rmd’ using ‘UTF-8’... OK
```
*Wow, no problems at all. :)*

0 comments on commit 241d2c7

Please sign in to comment.