CRAN Package Check Results for Package switchr

Last updated on 2021-10-25 09:55:37 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.14.3 11.88 922.45 934.33 OK
r-devel-linux-x86_64-debian-gcc 0.14.3 9.98 625.51 635.49 OK
r-devel-linux-x86_64-fedora-clang 0.14.3 1176.62 OK
r-devel-linux-x86_64-fedora-gcc 0.14.3 1060.31 OK
r-devel-windows-x86_64 0.14.3 21.00 1118.00 1139.00 OK
r-devel-windows-x86_64-gcc10-UCRT 0.14.3 ERROR
r-patched-linux-x86_64 0.14.3 14.24 87.88 102.12 OK
r-patched-solaris-x86 0.14.3 157.00 OK
r-release-linux-x86_64 0.14.3 12.49 86.86 99.35 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 25.00 124.00 149.00 OK
r-oldrel-macos-x86_64 0.14.3 OK
r-oldrel-windows-ix86+x86_64 0.14.3 48.00 121.00 169.00 OK

Check Details

Version: 0.14.3
Check: tests
Result: ERROR
     Running 'winpath.R'
    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\\")
     Warning messages:
     1: In normalizePath(path.expand(path), winslash, mustWork) :
     path[1]="\\laptop\My Documents\": The network path was not found
     2: In normalizePath(path.expand(path), winslash, mustWork) :
     path[1]="\\laptop\My Documents\": The network path was not found
     3: In normalizePath(path.expand(path), winslash, mustWork) :
     path[1]="\\laptop/My Documents/": The network path was not found
     >
     > ## regreossion test to ensure that package dependencies
     > ## are added to the dontunload list when a package
     > ## is specified
     > bef = switchrDontUnload()
     > af = switchrDontUnload("knitr")
     caught error: Error: Bioconductor does not yet build and check packages for R version 4.2; see
     https://bioconductor.org/install
    
     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.
     > 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)
     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