Skip to content

Commit

Permalink
First crack at revdeps (but sadly was with R 4.3)
Browse files Browse the repository at this point in the history
  • Loading branch information
jennybc committed Nov 25, 2024
1 parent 3e16348 commit f33a10b
Show file tree
Hide file tree
Showing 4 changed files with 147 additions and 137 deletions.
17 changes: 5 additions & 12 deletions revdep/README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
# Revdeps

## Failed to check (1)
## Failed to check (2)

|package |version |error |warning |note |
|:-------|:-------|:-----|:-------|:----|
|scaper |0.1.0 |1 | | |

## New problems (3)

|package |version |error |warning |note |
|:---------------|:-------|:--------|:-------|:------|
|[circle](problems.md#circle)|0.7.2 |1 |__+1__ | |
|[exampletestr](problems.md#exampletestr)|1.7.1 |1 __+1__ | | |
|[pharmaverseadam](problems.md#pharmaverseadam)|1.0.0 | | |__+1__ |
|package |version |error |warning |note |
|:---------|:-------|:-----|:-------|:----|
|KMunicate |? | | | |
|scaper |0.1.0 |1 | | |

21 changes: 5 additions & 16 deletions revdep/cran.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,13 @@
## revdepcheck results

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

* We saw 3 new problems
* We failed to check 1 packages
* We saw 0 new problems
* We failed to check 2 packages

Issues with CRAN packages are summarised below.

### New problems
(This reports the first line of each new failure)

* circle
checking dependencies in R code ... WARNING

* exampletestr
checking tests ... ERROR

* pharmaverseadam
checking installed package size ... NOTE

### Failed to check

* scaper (NA)
* KMunicate (NA)
* scaper (NA)
137 changes: 136 additions & 1 deletion revdep/failures.md
Original file line number Diff line number Diff line change
@@ -1 +1,136 @@
*Wow, no problems at all. :)*
# KMunicate

<details>

* Version: 0.2.5
* GitHub: https://github.com/ellessenne/KMunicate-package
* Source code: https://github.com/cran/KMunicate
* Date/Publication: 2024-05-16 11:50:08 UTC
* Number of recursive dependencies: 171

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

</details>

## Error before installation

### Devel

```
* using log directory ‘/tmp/workdir/KMunicate/new/KMunicate.Rcheck’
* using R version 4.3.1 (2023-06-16)
* using platform: x86_64-pc-linux-gnu (64-bit)
* R was compiled by
gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
GNU Fortran (Ubuntu 13.2.0-23ubuntu4) 13.2.0
* running under: Ubuntu 24.04.1 LTS
* using session charset: UTF-8
* using option ‘--no-manual’
* checking for file ‘KMunicate/DESCRIPTION’ ... OK
...
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ... OK
Running ‘testthat.R’
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in ‘inst/doc’ ... OK
* checking running R code from vignettes ... OK
‘KMunicate.Rmd’ using ‘UTF-8’... OK
* checking re-building of vignette outputs ... OK
* DONE
Status: OK
```
### CRAN

```
* using log directory ‘/tmp/workdir/KMunicate/old/KMunicate.Rcheck’
* using R version 4.3.1 (2023-06-16)
* using platform: x86_64-pc-linux-gnu (64-bit)
* R was compiled by
gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
GNU Fortran (Ubuntu 13.2.0-23ubuntu4) 13.2.0
* running under: Ubuntu 24.04.1 LTS
* using session charset: UTF-8
* using option ‘--no-manual’
* checking for file ‘KMunicate/DESCRIPTION’ ... OK
...
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ... OK
Running ‘testthat.R’
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in ‘inst/doc’ ... OK
* checking running R code from vignettes ... OK
‘KMunicate.Rmd’ using ‘UTF-8’... OK
* checking re-building of vignette outputs ... OK
* DONE
Status: OK
```
# scaper

<details>

* Version: 0.1.0
* GitHub: NA
* Source code: https://github.com/cran/scaper
* Date/Publication: 2023-10-19 07:20:02 UTC
* Number of recursive dependencies: 161

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

</details>

## In both

* checking whether package ‘scaper’ can be installed ... ERROR
```
Installation failed.
See ‘/tmp/workdir/scaper/new/scaper.Rcheck/00install.out’ for details.
```
## Installation
### Devel
```
* installing *source* package ‘scaper’ ...
** package ‘scaper’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace ‘Matrix’ 1.5-4.1 is already loaded, but >= 1.6.4 is required
Calls: <Anonymous> ... namespaceImportFrom -> asNamespace -> loadNamespace
Execution halted
ERROR: lazy loading failed for package ‘scaper’
* removing ‘/tmp/workdir/scaper/new/scaper.Rcheck/scaper’


```
### CRAN
```
* installing *source* package ‘scaper’ ...
** package ‘scaper’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace ‘Matrix’ 1.5-4.1 is already loaded, but >= 1.6.4 is required
Calls: <Anonymous> ... namespaceImportFrom -> asNamespace -> loadNamespace
Execution halted
ERROR: lazy loading failed for package ‘scaper’
* removing ‘/tmp/workdir/scaper/old/scaper.Rcheck/scaper’


```
109 changes: 1 addition & 108 deletions revdep/problems.md
Original file line number Diff line number Diff line change
@@ -1,108 +1 @@
# circle

<details>

* Version: 0.7.2
* GitHub: https://github.com/ropensci/circle
* Source code: https://github.com/cran/circle
* Date/Publication: 2022-08-24 07:50:02 UTC
* Number of recursive dependencies: 76

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

</details>

## Newly broken

* checking dependencies in R code ... WARNING
```
Missing or unexported object: ‘usethis::github_token’
```
## In both
* checking running R code from vignettes ... ERROR
```
Errors in running code in vignettes:
when running code in ‘circle.Rmd’
...
> knitr::opts_chunk$set(collapse = TRUE, comment = "#>")
> knitr::include_graphics("../man/figures/user-key.png")
When sourcing ‘circle.R’:
Error: Cannot find the file(s): "../man/figures/user-key.png"
Execution halted
‘circle.Rmd’ using ‘UTF-8’... failed
‘tic.Rmd’ using ‘UTF-8’... OK
```
# exampletestr
<details>
* Version: 1.7.1
* GitHub: https://github.com/rorynolan/exampletestr
* Source code: https://github.com/cran/exampletestr
* Date/Publication: 2023-06-11 03:10:02 UTC
* Number of recursive dependencies: 97
Run `revdepcheck::cloud_details(, "exampletestr")` for more info
</details>
## Newly broken
* checking tests ... ERROR
```
Running ‘spelling.R’
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(exampletestr)
>
> get_os <- function() {
+ sysinf <- Sys.info()
+ if (!is.null(sysinf)) {
...
6. └─exampletestr:::extract_examples("detect", tempdir(check = TRUE))
7. └─usethis::local_project(path = pkg_dir, quiet = TRUE)
8. └─usethis::proj_set(path = path, force = force)
9. └─usethis:::ui_abort(...)
10. └─cli::cli_abort(...)
11. └─rlang::abort(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 27 ]
Error: Test failures
Execution halted
```
## In both
* checking running R code from vignettes ... ERROR
```
Errors in running code in vignettes:
when running code in ‘one-file-at-a-time.Rmd’
...
> knitr::opts_knit$set(root.dir = paste0(tempdir(),
+ "/", "tempkg"))
> usethis::proj_set(".")
When sourcing ‘one-file-at-a-time.R’:
Error: ✖ Path '/tmp/RtmpGIYvQt/file132af710168/vignettes/' does not appear to
...
When sourcing ‘whole-package.R’:
Error: ✖ Path '/tmp/RtmpauCurR/file133f1dd70a93/vignettes/' does not appear to
be inside a project or package.
ℹ Read more in the help for `usethis::proj_get()`.
Execution halted
‘one-file-at-a-time.Rmd’ using ‘UTF-8’... failed
‘one-function-at-a-time.Rmd’ using ‘UTF-8’... OK
‘whole-package.Rmd’ using ‘UTF-8’... failed
```
*Wow, no problems at all. :)*

0 comments on commit f33a10b

Please sign in to comment.