CRAN Package Check Results for Package switchr

Last updated on 2024-11-13 01:49:29 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.14.8 12.17 94.43 106.60 OK
r-devel-linux-x86_64-debian-gcc 0.14.8 6.13 57.55 63.68 OK
r-devel-linux-x86_64-fedora-clang 0.14.8 148.25 OK
r-devel-linux-x86_64-fedora-gcc 0.14.8 186.04 OK
r-devel-windows-x86_64 0.14.8 13.00 107.00 120.00 ERROR
r-patched-linux-x86_64 0.14.8 11.45 90.77 102.22 OK
r-release-linux-x86_64 0.14.8 10.27 86.52 96.79 OK
r-release-macos-arm64 0.14.8 133.00 OK
r-release-macos-x86_64 0.14.8 206.00 OK
r-release-windows-x86_64 0.14.8 16.00 149.00 165.00 OK
r-oldrel-macos-arm64 0.14.8 157.00 OK
r-oldrel-macos-x86_64 0.14.8 226.00 OK
r-oldrel-windows-x86_64 0.14.8 15.00 169.00 184.00 OK

Check Details

Version: 0.14.8
Check: tests
Result: ERROR Running 'winpath.R' [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") > 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.21/data/annotation Calls: install_packages ... install_packages -> getStringType -> unique -> sapply -> lapply -> FUN Execution halted Flavor: r-devel-windows-x86_64