CRAN Package Check Results for Package switchr

Last updated on 2021-09-24 22:53:10 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.14.3 10.21 854.54 864.75 OK
r-devel-linux-x86_64-debian-gcc 0.14.3 8.10 632.52 640.62 OK
r-devel-linux-x86_64-fedora-clang 0.14.3 1112.10 OK
r-devel-linux-x86_64-fedora-gcc 0.14.3 1043.15 OK
r-devel-windows-x86_64 0.14.3 17.00 1010.00 1027.00 OK
r-devel-windows-x86_64-gcc10-UCRT 0.14.3 ERROR
r-patched-linux-x86_64 0.14.3 11.04 90.82 101.86 OK
r-patched-solaris-x86 0.14.3 157.00 OK
r-release-linux-x86_64 0.14.3 8.75 89.68 98.43 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