From 150415f57f4cfb54038e1a2f2802a92a7aaebef5 Mon Sep 17 00:00:00 2001 From: Sebastian Gatscha Date: Thu, 4 Apr 2024 23:29:16 +0200 Subject: [PATCH] chore: add revdep checks --- .Rbuildignore | 1 + revdep/.gitignore | 7 ++ revdep/README.md | 150 ++++++++++++++++++++---------------- revdep/cran.md | 7 ++ revdep/email.yml | 5 -- revdep/failures.md | 1 + revdep/problems.md | 171 ++++++++++++++++++++++++++++++++++++++---- scripts/revdepcheck.R | 31 ++++++++ 8 files changed, 287 insertions(+), 86 deletions(-) create mode 100644 revdep/.gitignore create mode 100644 revdep/cran.md delete mode 100644 revdep/email.yml create mode 100644 revdep/failures.md create mode 100644 scripts/revdepcheck.R diff --git a/.Rbuildignore b/.Rbuildignore index 8e0c6285..a15e2efd 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -24,3 +24,4 @@ ^_pkgdown\.yml$ ^pkgdown$ ^codecov\.yml$ +^revdep$ diff --git a/revdep/.gitignore b/revdep/.gitignore new file mode 100644 index 00000000..111ab324 --- /dev/null +++ b/revdep/.gitignore @@ -0,0 +1,7 @@ +checks +library +checks.noindex +library.noindex +cloud.noindex +data.sqlite +*.html diff --git a/revdep/README.md b/revdep/README.md index 0ded81f5..d9e41df3 100644 --- a/revdep/README.md +++ b/revdep/README.md @@ -1,76 +1,94 @@ +These are *partial* results! + # Platform -|field |value | -|:--------|:----------------------------| -|version |R version 3.4.4 (2018-03-15) | -|os |macOS High Sierra 10.13.3 | -|system |x86_64, darwin15.6.0 | -|ui |X11 | -|language |(EN) | -|collate |en_US.UTF-8 | -|tz |America/New_York | -|date |2018-04-21 | +|field |value | +|:--------|:------------------------------------------------------------------------------------| +|version |R version 4.3.1 (2023-06-16 ucrt) | +|os |Windows 11 x64 (build 22631) | +|system |x86_64, mingw32 | +|ui |RStudio | +|language |(EN) | +|collate |German_Austria.utf8 | +|ctype |German_Austria.utf8 | +|tz |Europe/Vienna | +|date |2024-04-04 | +|rstudio |2023.06.0+421 Mountain Hydrangea (desktop) | +|pandoc |3.1.1 @ C:/Program Files/RStudio/resources/app/bin/quarto/bin/tools/ (via rmarkdown) | # Dependencies -|package |old |new |Δ | -|:--------------|:--------|:--------|:--| -|leaflet.extras |0.2 |1.0.0 |* | -|assertthat |0.2.0 |0.2.0 | | -|base64enc |0.1-3 |0.1-3 | | -|BH |1.66.0-1 |1.66.0-1 | | -|cli |1.0.0 |1.0.0 | | -|colorspace |1.3-2 |1.3-2 | | -|crayon |1.3.4 |1.3.4 | | -|crosstalk |1.0.0 |1.0.0 | | -|dichromat |2.0-0 |2.0-0 | | -|digest |0.6.15 |0.6.15 | | -|ggplot2 |2.2.1 |2.2.1 | | -|glue |1.2.0 |1.2.0 | | -|gridExtra |2.3 |2.3 | | -|gtable |0.2.0 |0.2.0 | | -|htmltools |0.3.6 |0.3.6 | | -|htmlwidgets |1.2 |1.2 | | -|httpuv |1.4.1 |1.4.1 | | -|jsonlite |1.5 |1.5 | | -|labeling |0.3 |0.3 | | -|later |0.7.1 |0.7.1 | | -|lazyeval |0.2.1 |0.2.1 | | -|leaflet |2.0.0 |2.0.0 | | -|magrittr |1.5 |1.5 | | -|markdown |0.8 |0.8 | | -|mime |0.5 |0.5 | | -|munsell |0.4.3 |0.4.3 | | -|pillar |1.2.1 |1.2.1 | | -|plyr |1.8.4 |1.8.4 | | -|png |0.1-7 |0.1-7 | | -|promises |1.0.1 |1.0.1 | | -|R6 |2.2.2 |2.2.2 | | -|raster |2.6-7 |2.6-7 | | -|RColorBrewer |1.1-2 |1.1-2 | | -|Rcpp |0.12.16 |0.12.16 | | -|reshape2 |1.4.3 |1.4.3 | | -|rlang |0.2.0 |0.2.0 | | -|scales |0.5.0 |0.5.0 | | -|shiny |1.0.5 |1.0.5 | | -|sourcetools |0.1.6 |0.1.6 | | -|sp |1.2-7 |1.2-7 | | -|stringi |1.1.7 |1.1.7 | | -|stringr |1.3.0 |1.3.0 | | -|tibble |1.4.2 |1.4.2 | | -|utf8 |1.1.3 |1.1.3 | | -|viridis |0.5.1 |0.5.1 | | -|viridisLite |0.3.0 |0.3.0 | | -|xtable |1.8-2 |1.8-2 | | -|yaml |2.1.18 |2.1.18 | | +|package |old |new |Δ | +|:-----------------|:-------|:----------|:--| +|leaflet.extras |1.0.0 |1.0.0.9000 |* | +|base64enc |0.1-3 |0.1-3 | | +|bslib |0.7.0 |0.7.0 | | +|cachem |1.0.8 |1.0.8 | | +|cli |3.6.2 |3.6.2 | | +|colorspace |2.1-0 |2.1-0 | | +|crosstalk |1.2.1 |1.2.1 | | +|digest |0.6.35 |0.6.35 | | +|evaluate |0.23 |0.23 | | +|farver |2.1.1 |2.1.1 | | +|fastmap |1.1.1 |1.1.1 | | +|fontawesome |0.5.2 |0.5.2 | | +|fs |1.6.3 |1.6.3 | | +|glue |1.7.0 |1.7.0 | | +|highr |0.10 |0.10 | | +|htmltools |0.5.8.1 |0.5.8.1 | | +|htmlwidgets |1.6.4 |1.6.4 | | +|jquerylib |0.1.4 |0.1.4 | | +|jsonlite |1.8.8 |1.8.8 | | +|knitr |1.45 |1.45 | | +|labeling |0.4.3 |0.4.3 | | +|lazyeval |0.2.2 |0.2.2 | | +|leaflet |2.2.2 |2.2.2 | | +|leaflet.providers |2.0.0 |2.0.0 | | +|lifecycle |1.0.4 |1.0.4 | | +|magrittr |2.0.3 |2.0.3 | | +|memoise |2.0.1 |2.0.1 | | +|mime |0.12 |0.12 | | +|munsell |0.5.1 |0.5.1 | | +|png |0.1-8 |0.1-8 | | +|R6 |2.5.1 |2.5.1 | | +|rappdirs |0.3.3 |0.3.3 | | +|raster |3.6-26 |3.6-26 | | +|RColorBrewer |1.1-3 |1.1-3 | | +|Rcpp |1.0.12 |1.0.12 | | +|rlang |1.1.3 |1.1.3 | | +|rmarkdown |2.26 |2.26 | | +|sass |0.4.9 |0.4.9 | | +|scales |1.3.0 |1.3.0 | | +|sp |2.1-3 |2.1-3 | | +|stringi |1.8.3 |1.8.3 | | +|stringr |1.5.1 |1.5.1 | | +|terra |1.7-71 |1.7-71 | | +|tinytex |0.50 |0.50 | | +|vctrs |0.6.5 |0.6.5 | | +|viridisLite |0.4.2 |0.4.2 | | +|xfun |0.43 |0.43 | | +|yaml |2.3.8 |2.3.8 | | # Revdeps -## All (3) +## All (16) -|package |version |error |warning |note | -|:---------------------------------------|:-------|:-----|:-------|:----| -|[leaflet.esri](problems.md#leafletesri) |0.2 | | |1 | -|[mapedit](problems.md#mapedit) |0.4.1 | | |1 | -|[wallace](problems.md#wallace) |1.0.4 | | |1 | +|package |version |error |warning |note | +|:---------------|:-------|:-----|:-------|:----| +|bcdata |0.4.1 | | | | +|berryFunctions |1.22.5 | | | | +|GPSeqClus |1.4.0 | | | | +|gwavr |0.2.0 | | | | +|hydflood |0.5.7 | | | | +|[HYPEtools](problems.md#hypetools)|1.6.1 |1 | | | +|[IceSat2R](problems.md#icesat2r)|1.0.4 | | |1 | +|lcars |0.3.8 | | | | +|[leaflet.esri](problems.md#leafletesri)|1.0.0 | | |1 | +|[mapedit](problems.md#mapedit)|0.6.0 | | |2 | +|MDMAPR |0.2.3 | | | | +|[naturaList](problems.md#naturalist)|0.5.2 | |1 |1 | +|[oceanis](problems.md#oceanis)|1.8.5 | | |1 | +|[pdxTrees](problems.md#pdxtrees)|0.4.0 | | |1 | +|rfars |1.1.0 | | | | +|starsTileServer |0.1.1 | | | | diff --git a/revdep/cran.md b/revdep/cran.md new file mode 100644 index 00000000..05094c1b --- /dev/null +++ b/revdep/cran.md @@ -0,0 +1,7 @@ +## revdepcheck results + +We checked 16 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 + diff --git a/revdep/email.yml b/revdep/email.yml deleted file mode 100644 index b8baed16..00000000 --- a/revdep/email.yml +++ /dev/null @@ -1,5 +0,0 @@ -my_version: 0.2 -release_version: 1.0.0 -release_date: "April 16th, 2018" -rel_release_date: "two weeks" -my_news_url: https://github.com/bhaskarvk/leaflet/blob/master/NEWS diff --git a/revdep/failures.md b/revdep/failures.md new file mode 100644 index 00000000..9a207363 --- /dev/null +++ b/revdep/failures.md @@ -0,0 +1 @@ +*Wow, no problems at all. :)* \ No newline at end of file diff --git a/revdep/problems.md b/revdep/problems.md index 64b2b6f9..4be68ad9 100644 --- a/revdep/problems.md +++ b/revdep/problems.md @@ -1,39 +1,180 @@ +# HYPEtools + +
+ +* Version: 1.6.1 +* GitHub: https://github.com/rcapell/HYPEtools +* Source code: https://github.com/cran/HYPEtools +* Date/Publication: 2024-01-12 17:20:02 UTC +* Number of recursive dependencies: 164 + +Run `revdepcheck::revdep_details(, "HYPEtools")` for more info + +
+ +## In both + +* checking examples ... ERROR + ``` + Running examples in 'HYPEtools-Ex.R' failed + The error most likely occurred in: + + > ### Name: SumUpstreamArea + > ### Title: Calculate upstream area sums + > ### Aliases: SumUpstreamArea + > + > ### ** Examples + > + > te <- ReadGeoData(filename = system.file("demo_model", "GeoData.txt", package = "HYPEtools")) + > SumUpstreamArea(subid = c(3361, 63794), gd = te, progbar = FALSE) + Error in checkForRemoteErrors(val) : + 2 nodes produced errors; first error: there is no package called 'HYPEtools' + Calls: SumUpstreamArea ... clusterApply -> staticClusterApply -> checkForRemoteErrors + Execution halted + ``` + +# IceSat2R + +
+ +* Version: 1.0.4 +* GitHub: https://github.com/mlampros/IceSat2R +* Source code: https://github.com/cran/IceSat2R +* Date/Publication: 2022-11-17 07:50:02 UTC +* Number of recursive dependencies: 140 + +Run `revdepcheck::revdep_details(, "IceSat2R")` for more info + +
+ +## In both + +* checking data for non-ASCII characters ... NOTE + ``` + Hinweis: 10 markierte UTF-8 Zeichenketten gefunden< + ``` + # leaflet.esri -Version: 0.2 +
+ +* Version: 1.0.0 +* GitHub: https://github.com/bhaskarvk/leaflet.esri +* Source code: https://github.com/cran/leaflet.esri +* Date/Publication: 2018-04-23 22:31:56 UTC +* Number of recursive dependencies: 49 + +Run `revdepcheck::revdep_details(, "leaflet.esri")` for more info + +
## In both -* checking dependencies in R code ... NOTE +* checking LazyData ... NOTE ``` - Namespaces in Imports field not imported from: - ‘htmlwidgets’ ‘shiny’ - All declared Imports should be used. + 'LazyData' is specified without a 'data' directory ``` # mapedit -Version: 0.4.1 +
+ +* Version: 0.6.0 +* GitHub: https://github.com/r-spatial/mapedit +* Source code: https://github.com/cran/mapedit +* Date/Publication: 2020-02-02 17:20:02 UTC +* Number of recursive dependencies: 95 + +Run `revdepcheck::revdep_details(, "mapedit")` for more info + +
## In both * checking package dependencies ... NOTE ``` - Package which this enhances but not available for checking: ‘geojsonio’ + Package which this enhances but not available for checking: 'geojsonio' + ``` + +* checking LazyData ... NOTE ``` + 'LazyData' is specified without a 'data' directory + ``` + +# naturaList + +
+ +* Version: 0.5.2 +* GitHub: https://github.com/avrodrigues/naturaList +* Source code: https://github.com/cran/naturaList +* Date/Publication: 2024-02-06 08:10:02 UTC +* Number of recursive dependencies: 119 + +Run `revdepcheck::revdep_details(, "naturaList")` for more info + +
+ +## In both + +* checking for missing documentation entries ... WARNING + ``` + Warnung: Paket 'sp' wurde unter R Version 4.3.3 erstellt + Warnung: Paket 'raster' wurde unter R Version 4.3.3 erstellt + All user-level objects in a package should have documentation entries. + See chapter 'Writing R documentation files' in the 'Writing R + Extensions' manual. + ``` + +* checking data for non-ASCII characters ... NOTE + ``` + Hinweis: 5 markierte Latin-1 Zeichenketten gefunden< + Hinweis: 7187 markierte UTF-8 Zeichenketten gefunden< + ``` + +# oceanis + +
+ +* Version: 1.8.5 +* GitHub: https://github.com/insee-psar-at/oceanis-package +* Source code: https://github.com/cran/oceanis +* Date/Publication: 2022-07-13 13:10:02 UTC +* Number of recursive dependencies: 117 + +Run `revdepcheck::revdep_details(, "oceanis")` for more info + +
+ +## In both + +* checking installed package size ... NOTE + ``` + installed size is 9.4Mb + sub-directories of 1Mb or more: + R 1.5Mb + doc 5.7Mb + extdata 1.5Mb + ``` + +# pdxTrees + +
+ +* Version: 0.4.0 +* GitHub: https://github.com/mcconvil/pdxTrees +* Source code: https://github.com/cran/pdxTrees +* Date/Publication: 2020-08-17 14:00:02 UTC +* Number of recursive dependencies: 106 -# wallace +Run `revdepcheck::revdep_details(, "pdxTrees")` for more info -Version: 1.0.4 +
## In both -* checking dependencies in R code ... NOTE +* checking LazyData ... NOTE ``` - Namespaces in Imports field not imported from: - ‘DT’ ‘ENMeval’ ‘RColorBrewer’ ‘dismo’ ‘dplyr’ ‘leaflet.extras’ - ‘maptools’ ‘raster’ ‘rgdal’ ‘rgeos’ ‘shinyjs’ ‘shinythemes’ ‘spThin’ - ‘spocc’ - All declared Imports should be used. + 'LazyData' is specified without a 'data' directory ``` diff --git a/scripts/revdepcheck.R b/scripts/revdepcheck.R new file mode 100644 index 00000000..ec692834 --- /dev/null +++ b/scripts/revdepcheck.R @@ -0,0 +1,31 @@ +# usethis::use_revdep() +# usethis::use_version() + +# devtools::install_github('r-lib/revdepcheck') +library(revdepcheck) + +revdep_check(num_workers = 4) +beepr::beep(4) +revdep_report(pkg = ".", all = TRUE) +# revdep_report_summary() + +#' During execution, run these in a separate R process to view status completed checks: +# revdep_summary() # table of results by package +# revdep_details(".", "pdxTrees") # full details for the specified package + + + + + + + + +# Manage a “todo” list of packages to examine: +# revdep_add(pkg = ".", ) # add to the list +# revdep_rm(pkg = ".", ). # remove from list +# revdep_add_broken() # add all broken packages +# revdep_add_new() # add newly available packages +# revdep_todo() # list packages in the todo list + +# Clear out all previous results +# revdep_reset()