Running 'winpath.R' [11m]
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")
  Warning: unable to access index for repository https://bioconductor.org/packages/3.22/bioc/src/contrib:
    cannot open URL 'https://bioconductor.org/packages/3.22/bioc/src/contrib/PACKAGES'
  Warning: unable to access index for repository https://bioconductor.org/packages/3.22/data/annotation/src/contrib:
    cannot open URL 'https://bioconductor.org/packages/3.22/data/annotation/src/contrib/PACKAGES'
  Warning: unable to access index for repository https://bioconductor.org/packages/3.22/data/experiment/src/contrib:
    cannot open URL 'https://bioconductor.org/packages/3.22/data/experiment/src/contrib/PACKAGES'
  Warning: unable to access index for repository https://bioconductor.org/packages/3.22/workflows/src/contrib:
    cannot open URL 'https://bioconductor.org/packages/3.22/workflows/src/contrib/PACKAGES'
  > 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 getStringType(repos) : 
    Got mixed string types (likely in seed). This shouldn't happen.https://cloud.r-project.org
  https://bioconductor.org/packages/3.22/bioc
  https://bioconductor.org/packages/3.22/data/annotation
  https://bioconductor.org/packages/3.22/data/experiment
  https://bioconductor.org/packages/3.22/workflows
  https://bioconductor.org/packages/3.22/booksrepourl
  manifesturl
  Calls: install_packages -> install_packages -> getStringType
  Execution halted