- using R version 4.6.1 (2026-06-24 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 14.3.0
GNU Fortran (GCC) 14.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
* current time: 2026-09-30 02:20:16 UTC
- checking for file 'pkgdiff/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'pkgdiff' version '1.0.4'
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'pkgdiff' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking 'build' directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [3s] OK
- checking whether the package can be loaded with stated dependencies ... [2s] OK
- checking whether the package can be unloaded cleanly ... [2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s] OK
- checking loading without being on the library search path ... [2s] OK
- checking whether startup messages can be suppressed ... [2s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [7s] OK
- checking Rd files ... [1s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [5s] ERROR
Running examples in 'pkgdiff-Ex.R' failed
The error most likely occurred in:
> ### Name: pkg_diff
> ### Title: Compare Package Versions
> ### Aliases: pkg_diff
>
> ### ** Examples
>
> # View package stability
> pkg_stability("rsample")
# A stability score: rsample package
- Age: 9.17 years
- Score: 84.9
- Assessment: Somewhat Unstable
- Version Range: 0.0.1/1.3.2
- Release Range: 2017-07-08/2026-01-30
- Release Count: 19
- Breaking Releases: 7
- Data:
Package Version FileName Release Size AF AP RF RP BC TF
1 rsample 1.3.2 rsample_1.3.2.tar.gz 2026-01-30 1.4M 0 0 0 0 0 430
2 rsample 1.3.1 rsample_1.3.1.tar.gz 2025-07-29 1.4M 25 1 12 0 1 430
3 rsample 1.3.0 rsample_1.3.0.tar.gz 2025-04-02 328K 16 0 0 0 0 417
4 rsample 1.2.1 rsample_1.2.1.tar.gz 2024-03-25 320.9K 1 0 0 0 0 401
5 rsample 1.2.0 rsample_1.2.0.tar.gz 2023-08-23 321K 43 6 1 3 1 400
6 rsample 1.1.1 rsample_1.1.1.tar.gz 2022-12-07 318K 37 5 0 0 0 358
7 rsample 1.1.0 rsample_1.1.0.tar.gz 2022-08-08 306K 72 1 0 0 0 321
8 rsample 1.0.0 rsample_1.0.0.tar.gz 2022-06-24 268K 1 0 1 0 1 249
9 rsample 0.1.1 rsample_0.1.1.tar.gz 2021-11-08 274K 4 1 0 1 1 249
10 rsample 0.1.0 rsample_0.1.0.tar.gz 2021-05-08 274K 0 5 0 0 0 245
11 rsample 0.0.9 rsample_0.0.9.tar.gz 2021-02-17 269K 19 0 6 0 1 245
12 rsample 0.0.8 rsample_0.0.8.tar.gz 2020-09-23 261K 59 0 0 0 0 232
13 rsample 0.0.7 rsample_0.0.7.tar.gz 2020-06-04 248K 101 1 0 0 0 173
14 rsample 0.0.6 rsample_0.0.6.tar.gz 2020-03-31 299K 7 2 0 0 0 72
15 rsample 0.0.5 rsample_0.0.5.tar.gz 2019-07-13 297K 4 5 0 0 0 65
16 rsample 0.0.4 rsample_0.0.4.tar.gz 2019-01-07 254K 0 0 4 0 1 61
17 rsample 0.0.3 rsample_0.0.3.tar.gz 2018-11-20 254K 7 0 1 0 1 65
18 rsample 0.0.2 rsample_0.0.2.tar.gz 2017-11-12 339K 24 0 0 0 0 59
19 rsample 0.0.1 rsample_0.0.1.tar.gz 2017-07-08 180K 35 35 0 0 0 35
> # # A stability score: rsample package
> # - Age: 7.58 years
> # - Score: 80.3
> # - Assessment: Somewhat Unstable
> # - Version Range: 0.0.1/1.2.1
> # - Release Range: 2017-07-08/2024-03-25
> # - Release Count: 16
> # - Breaking Releases: 6
> # - Data:
> # Package Version FileName Release Size AF AP RF RP BC TF
> # 1 rsample 1.2.1 rsample_1.2.1.tar.gz 2024-03-25 320.9K 1 0 0 0 0 401
> # 2 rsample 1.2.0 rsample_1.2.0.tar.gz 2023-08-23 321K 43 6 1 3 1 400
> # 3 rsample 1.1.1 rsample_1.1.1.tar.gz 2022-12-07 318K 37 5 0 0 0 358
> # 4 rsample 1.1.0 rsample_1.1.0.tar.gz 2022-08-08 306K 72 1 0 0 0 321
> # 5 rsample 1.0.0 rsample_1.0.0.tar.gz 2022-06-24 268K 1 0 1 0 1 249
> # 6 rsample 0.1.1 rsample_0.1.1.tar.gz 2021-11-08 274K 4 1 0 1 1 249
> # 7 rsample 0.1.0 rsample_0.1.0.tar.gz 2021-05-08 274K 0 5 0 0 0 245
> # 8 rsample 0.0.9 rsample_0.0.9.tar.gz 2021-02-17 269K 19 0 6 0 1 245
> # 9 rsample 0.0.8 rsample_0.0.8.tar.gz 2020-09-23 261K 59 0 0 0 0 232
> # 10 rsample 0.0.7 rsample_0.0.7.tar.gz 2020-06-04 248K 101 1 0 0 0 173
> # 11 rsample 0.0.6 rsample_0.0.6.tar.gz 2020-03-31 299K 7 2 0 0 0 72
> # 12 rsample 0.0.5 rsample_0.0.5.tar.gz 2019-07-13 297K 4 5 0 0 0 65
> # 13 rsample 0.0.4 rsample_0.0.4.tar.gz 2019-01-07 254K 0 0 4 0 1 61
> # 14 rsample 0.0.3 rsample_0.0.3.tar.gz 2018-11-20 254K 7 0 1 0 1 65
> # 15 rsample 0.0.2 rsample_0.0.2.tar.gz 2017-11-12 339K 24 0 0 0 0 59
> # 16 rsample 0.0.1 rsample_0.0.1.tar.gz 2017-07-08 180K 35 35 0 0 0 35
>
> # Examine differences between versions
> pkg_diff("rsample", "1.1.1", "1.2.0")
Warning in url(sprintf("%s/%s", cran, path), open = "rb") :
cannot open URL 'https://bioconductor.statistik.tu-dortmund.de/cran/web/packages/packages.rds': HTTP status was '404 Not Found'
Error in if (nrow(lrw) == 0) { : argument is of length zero
Calls: pkg_diff -> get_latest_data
Execution halted
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [17s] ERROR
Running 'testthat.R' [17s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(pkgdiff)
Warning message:
In url(sprintf("%s/%s", cran, path), open = "rb") :
cannot open URL 'https://bioconductor.statistik.tu-dortmund.de/cran/web/packages/packages.rds': HTTP status was '404 Not Found'
>
> test_check("pkgdiff")
Saving _problems/test-pkgrepo-60.R
Getting stability score for package 'tcltk'...
Package 'tcltk' is a Base package.
Getting stability score for package 'Matrix'...
Package 'Matrix' is a Base package.
Saving _problems/test-summary-39.R
Saving _problems/test-summary-156.R
Saving _problems/test-summary-172.R
Saving _problems/test-utilities-585.R
[ FAIL 5 | WARN 12 | SKIP 0 | PASS 112 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-pkgrepo.R:60:3'): repo4: pkg_repo() basic functionality no params. ──
Error in `if (nrow(lst) < length(pkgs)) { mpkgs <- pkgs[!pkgs %in% lst$Package] mdf <- data.frame(Package = mpkgs, Version = NA) lst <- rbind(lst, mdf) }`: argument is of length zero
Backtrace:
▆
1. └─pkgdiff::pkg_repo(c("common", "rvest", "crayon"), ver = "latest") at test-pkgrepo.R:60:3
── Error ('test-summary.R:39:3'): summary2: gen_html() basic functionality. ────
Error in `if (nrow(lst) == 0) { dat <- get_latest_data_back(pkg, skip_size = TRUE, msg = msg)[1, "Version"] } else { dat <- lst[lst$Package == pkg, "Version"] }`: argument is of length zero
Backtrace:
▆
1. └─pkgdiff:::gen_html("stringr", fpth, ipth, NULL, NULL) at test-summary.R:39:3
2. └─pkgdiff::pkg_info(pkg)
3. └─pkgdiff:::get_latest_version(pkg, msg = FALSE)
── Error ('test-summary.R:156:3'): summary7: pkg_summary() no releases. ────────
Error in `if (nrow(lst) == 0) { dat <- get_latest_data_back(pkg, skip_size = TRUE, msg = msg)[1, "Version"] } else { dat <- lst[lst$Package == pkg, "Version"] }`: argument is of length zero
Backtrace:
▆
1. └─pkgdiff::pkg_summary("bork") at test-summary.R:156:3
2. └─pkgdiff:::gen_html(pkg, fpth, ipth, releases, months)
3. └─pkgdiff::pkg_info(pkg)
4. └─pkgdiff:::get_latest_version(pkg, msg = FALSE)
── Error ('test-summary.R:172:3'): summary8: pkg_summary() base package. ───────
Error in `if (nrow(lst) == 0) { dat <- get_latest_data_back(pkg, skip_size = TRUE, msg = msg)[1, "Version"] } else { dat <- lst[lst$Package == pkg, "Version"] }`: argument is of length zero
Backtrace:
▆
1. └─pkgdiff::pkg_summary("tools") at test-summary.R:172:3
2. └─pkgdiff:::gen_html(pkg, fpth, ipth, releases, months)
3. └─pkgdiff::pkg_info(pkg)
4. └─pkgdiff:::get_latest_version(pkg, msg = FALSE)
── Error ('test-utilities.R:585:3'): utilities24: available_packages() works as expected. ──
Error in `url(sprintf("%s/%s", cran, path), open = "rb")`: cannot open the connection to 'https://bioconductor.statistik.tu-dortmund.de/cran/web/packages/packages.rds'
Backtrace:
▆
1. └─pkgdiff:::available_packages() at test-utilities.R:585:3
2. └─tools::CRAN_package_db()
3. ├─base::as.data.frame(...)
4. └─tools:::read_CRAN_object(CRAN_baseurl_for_web_area(), "web/packages/packages.rds")
5. ├─base::gzcon(url(sprintf("%s/%s", cran, path), open = "rb"))
6. └─base::url(sprintf("%s/%s", cran, path), open = "rb")
[ FAIL 5 | WARN 12 | SKIP 0 | PASS 112 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [9s] OK
- checking PDF version of manual ... [21s] OK
- checking HTML version of manual ... [5s] OK
- DONE
Status: 2 ERRORs