CRAN Package Check Results for Package switchr

Last updated on 2025-11-11 15:50:49 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.14.8 12.14 87.87 100.01 NOTE
r-devel-linux-x86_64-debian-gcc 0.14.8 6.28 50.42 56.70 ERROR
r-devel-linux-x86_64-fedora-clang 0.14.8 28.00 114.92 142.92 OK
r-devel-linux-x86_64-fedora-gcc 0.14.8 30.00 157.38 187.38 OK
r-devel-windows-x86_64 0.14.8 14.00 128.00 142.00 OK
r-patched-linux-x86_64 0.14.8 11.19 97.60 108.79 OK
r-release-linux-x86_64 0.14.8 11.38 97.26 108.64 OK
r-release-macos-arm64 0.14.8 21.00 97.00 118.00 OK
r-release-macos-x86_64 0.14.8 49.00 189.00 238.00 OK
r-release-windows-x86_64 0.14.8 16.00 149.00 165.00 OK
r-oldrel-macos-arm64 0.14.8 20.00 113.00 133.00 OK
r-oldrel-macos-x86_64 0.14.8 34.00 172.00 206.00 OK
r-oldrel-windows-x86_64 0.14.8 19.00 160.00 179.00 OK

Check Details

Version: 0.14.8
Check: CRAN incoming feasibility
Result: NOTE Maintainer: ‘Gabriel Becker <gabembecker@gmail.com>’ No Authors@R field in DESCRIPTION. Please add one, modifying Authors@R: person(given = "Gabriel", family = "Becker", role = c("aut", "cre"), email = "gabembecker@gmail.com") as necessary. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.14.8
Check: tests
Result: ERROR Running ‘winpath.R’ [3s/5s] Running the tests in ‘tests/winpath.R’ failed. Complete output: > library(switchr) > ## if(getOption("repos")["CRAN"] == "@CRAN@") > ## chooseCRANmirror(ind=1L) > graceful_inet(TRUE) $on [1] TRUE $silent [1] FALSE > checkUrlRoundtrip = function(pth) { + pth = switchr:::normalizePath2(pth) + furl = switchr:::makeFileURL(pth) + pth2 = switchr:::fileFromFileURL(furl) + if(pth != pth2) + stop("Round trip result (", pth2, ") does not match original (", pth, ") when creating file URLs") + } > > ## regression test to ensure that the roundtrip > ## between path and file url is working properly > checkUrlRoundtrip(getwd()) > checkUrlRoundtrip(tempdir()) > if(switchr:::isWindows()) + checkUrlRoundtrip("\\\\localhost\\c$") > > ## regreossion test to ensure that package dependencies > ## are added to the dontunload list when a package > ## is specified > bef = switchrDontUnload() > af = switchrDontUnload("knitr") Warning: unable to access index for repository https://bioconductor.org/packages/3.23/data/annotation/src/contrib: cannot open URL 'https://bioconductor.org/packages/3.23/data/annotation/src/contrib/PACKAGES' > stopifnot(all(tools::package_dependencies("knitr", recursive = TRUE)[[1]] %in% af)) > > > ## regression test for unnecessary (and expensive) > ## lazy repo construction when install_packages > ## is passed urls for existing repos (the default > ## behavior). > tmplib = tempdir() > trace(lazyRepo, stop) Tracing function "lazyRepo" in environment <namespace:switchr> Warning: Tracing only in the namespace; to untrace you will need: untrace("lazyRepo", where = getNamespace("switchr")) [1] "lazyRepo" attr(,"package") [1] "switchr" > install_packages("switchr", repos = defaultRepos(), lib = tmplib) Error in FUN(X[[i]], ...) : Unidentifiable string:https://bioconductor.org/packages/3.23/data/annotation Calls: install_packages ... install_packages -> getStringType -> unique -> sapply -> lapply -> FUN Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.