CRAN Package Check Results for Package switchr

Last updated on 2021-06-16 09:53:40 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.14.3 13.51 69.01 82.52 ERROR
r-devel-linux-x86_64-debian-gcc 0.14.3 8.82 69.22 78.04 OK
r-devel-linux-x86_64-fedora-clang 0.14.3 129.75 OK
r-devel-linux-x86_64-fedora-gcc 0.14.3 974.94 OK
r-devel-windows-x86_64 0.14.3 21.00 153.00 174.00 OK
r-devel-windows-x86_64-gcc10-UCRT 0.14.3 ERROR
r-patched-linux-x86_64 0.14.3 14.88 90.39 105.27 OK
r-patched-solaris-x86 0.14.3 164.10 OK
r-release-linux-x86_64 0.14.3 11.57 88.35 99.92 OK
r-release-macos-arm64 0.14.3 OK
r-release-macos-x86_64 0.14.3 OK
r-release-windows-ix86+x86_64 0.14.3 23.00 129.00 152.00 OK
r-oldrel-macos-x86_64 0.14.3 OK
r-oldrel-windows-ix86+x86_64 0.14.3 23.00 118.00 141.00 OK

Check Details

Version: 0.14.3
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)
     [1] TRUE
     > 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("\\\\laptop\\My Documents\\")
     >
     > ## regreossion test to ensure that package dependencies
     > ## are added to the dontunload list when a package
     > ## is specified
     > bef = switchrDontUnload()
     > af = switchrDontUnload("knitr")
     Switchr needs a default CRAN mirror set via R options. Using the cloud mirror. This happens only when no CRAN mirror is selected *and* the BiocInstaller package is not installed.
     Warning: unable to access index for repository http://bioconductor.org/packages/3.14/data/annotation/src/contrib:
     cannot open URL 'http://bioconductor.org/packages/3.14/data/annotation/src/contrib/PACKAGES'
     > stopifnot(all(c("stringr", "stringi", "magrittr") %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:http://bioconductor.org/packages/3.14/data/annotation
     Calls: install_packages ... install_packages -> getStringType -> unique -> sapply -> lapply -> FUN
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.14.3
Check: tests
Result: ERROR
     Running 'winpath.R'
    Running the tests in 'tests/winpath.R' failed.
    Last 13 lines of output:
     > 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)
     caught error: Error: Bioconductor does not yet build and check packages for R version 4.2; see
     https://bioconductor.org/install
    
     Error in getStringType(repos) :
     Got mixed string types (likely in seed). This shouldn't happen.
     Calls: install_packages -> install_packages -> getStringType
     Execution halted
Flavor: r-devel-windows-x86_64-gcc10-UCRT