CRAN Package Check Results for Package switchr

Last updated on 2018-02-21 05:48:59 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.12.6 11.81 68.21 80.02 OK
r-devel-linux-x86_64-debian-gcc 0.12.6 9.02 52.25 61.27 OK
r-devel-linux-x86_64-fedora-clang 0.12.6 70.49 ERROR
r-devel-linux-x86_64-fedora-gcc 0.12.6 67.27 ERROR
r-devel-windows-ix86+x86_64 0.12.6 59.00 132.00 191.00 OK
r-patched-linux-x86_64 0.12.6 4.83 66.54 71.37 OK
r-patched-solaris-x86 0.12.6 94.60 OK
r-release-linux-x86_64 0.12.6 4.39 67.08 71.47 OK
r-release-windows-ix86+x86_64 0.12.6 28.00 215.00 243.00 OK
r-release-osx-x86_64 0.12.6 OK
r-oldrel-windows-ix86+x86_64 0.12.6 51.00 170.00 221.00 OK
r-oldrel-osx-x86_64 0.12.6 OK

Check Details

Version: 0.12.6
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: ‘BiocInstaller’
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.12.6
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=2)
     > 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")
     Warning: unable to access index for repository http://bioconductor.org/packages/3.7/extra/src/contrib:
     cannot open URL 'http://bioconductor.org/packages/3.7/extra/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)
     Loading required namespace: RCurl
     Error in FUN(X[[i]], ...) :
     Unidentifiable string:http://bioconductor.org/packages/3.7/extra
     Calls: install_packages ... install_packages -> getStringType -> unique -> sapply -> lapply -> FUN
     Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc