Last updated on 2026-08-02 23:51:00 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.2.2 | 4.05 | 493.22 | 497.27 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.2.2 | 3.04 | 347.52 | 350.56 | NOTE | |
| r-devel-linux-x86_64-fedora-clang | 0.2.2 | 712.80 | OK | |||
| r-devel-linux-x86_64-fedora-gcc | 0.2.2 | 333.77 | OK | |||
| r-devel-windows-x86_64 | 0.2.2 | 5.00 | 555.00 | 560.00 | OK | |
| r-patched-linux-x86_64 | 0.2.2 | 5.12 | 472.49 | 477.61 | OK | |
| r-release-linux-x86_64 | 0.2.2 | 4.12 | 480.27 | 484.39 | OK | |
| r-release-macos-arm64 | 0.2.2 | 1.00 | 306.00 | 307.00 | OK | |
| r-release-macos-x86_64 | 0.2.2 | 3.00 | 661.00 | 664.00 | OK | |
| r-release-windows-x86_64 | 0.2.2 | 8.00 | 573.00 | 581.00 | OK | |
| r-oldrel-macos-arm64 | 0.2.2 | 1.00 | 187.00 | 188.00 | ERROR | |
| r-oldrel-macos-x86_64 | 0.2.2 | 3.00 | 383.00 | 386.00 | ERROR | |
| r-oldrel-windows-x86_64 | 0.2.2 | 6.00 | 662.00 | 668.00 | ERROR |
Version: 0.2.2
Check: for new files in some other directories
Result: NOTE
Found the following files/directories:
‘~/tmp/scratch/Rtmp0laz3I’ ‘~/tmp/scratch/Rtmp1ElyUg’
‘~/tmp/scratch/Rtmp1Fjk5k’ ‘~/tmp/scratch/Rtmp1IjcX3’
‘~/tmp/scratch/Rtmp1aapqe’ ‘~/tmp/scratch/Rtmp1pizDv’
‘~/tmp/scratch/Rtmp2bVMPa’ ‘~/tmp/scratch/Rtmp3TpLOc’
‘~/tmp/scratch/Rtmp3kNqyu’ ‘~/tmp/scratch/Rtmp4P3Pj6’
‘~/tmp/scratch/Rtmp61vG7f’ ‘~/tmp/scratch/Rtmp6PyJRZ’
‘~/tmp/scratch/Rtmp6fqrmW’ ‘~/tmp/scratch/Rtmp6zYt35’
‘~/tmp/scratch/Rtmp7amuxI’ ‘~/tmp/scratch/Rtmp8GZlmq’
‘~/tmp/scratch/Rtmp8JCHOB’ ‘~/tmp/scratch/Rtmp8iQ376’
‘~/tmp/scratch/Rtmp93Y7XJ’ ‘~/tmp/scratch/RtmpAdwFhG’
‘~/tmp/scratch/RtmpArkojK’ ‘~/tmp/scratch/RtmpB0lqtL’
‘~/tmp/scratch/RtmpBU117x’ ‘~/tmp/scratch/RtmpC8LuU7’
‘~/tmp/scratch/RtmpCB6PWO’ ‘~/tmp/scratch/RtmpCV4MVx’
‘~/tmp/scratch/RtmpChbK7X’ ‘~/tmp/scratch/RtmpCypSf3’
‘~/tmp/scratch/RtmpD7KVHA’ ‘~/tmp/scratch/RtmpD9iMPm’
‘~/tmp/scratch/RtmpDOebZ1’ ‘~/tmp/scratch/RtmpDTEPgm’
‘~/tmp/scratch/RtmpDbsQEt’ ‘~/tmp/scratch/RtmpDkf6CZ’
‘~/tmp/scratch/RtmpDpZjXp’ ‘~/tmp/scratch/RtmpEeusZQ’
‘~/tmp/scratch/RtmpF40EI7’ ‘~/tmp/scratch/RtmpFVngnE’
‘~/tmp/scratch/RtmpFiTRQd’ ‘~/tmp/scratch/RtmpFxYpl1’
‘~/tmp/scratch/RtmpG3q58L’ ‘~/tmp/scratch/RtmpGhpIFB’
‘~/tmp/scratch/RtmpGzlcIw’ ‘~/tmp/scratch/RtmpH41UMv’
‘~/tmp/scratch/RtmpH9oJhR’ ‘~/tmp/scratch/RtmpHc97iu’
‘~/tmp/scratch/RtmpHkl0cA’ ‘~/tmp/scratch/RtmpHkuEpQ’
‘~/tmp/scratch/RtmpHz0vmg’ ‘~/tmp/scratch/RtmpKhE4XM’
‘~/tmp/scratch/RtmpKleptR’ ‘~/tmp/scratch/RtmpKnQi02’
‘~/tmp/scratch/RtmpL5eEfR’ ‘~/tmp/scratch/RtmpLZFnkV’
‘~/tmp/scratch/RtmpM4qfLB’ ‘~/tmp/scratch/RtmpM8uT0j’
‘~/tmp/scratch/RtmpMC5dKh’ ‘~/tmp/scratch/RtmpMM1ua6’
‘~/tmp/scratch/RtmpMWFGik’ ‘~/tmp/scratch/RtmpN0VB8Y’
‘~/tmp/scratch/RtmpNddn9J’ ‘~/tmp/scratch/RtmpO2aQMJ’
‘~/tmp/scratch/RtmpO40vtS’ ‘~/tmp/scratch/RtmpON61kL’
‘~/tmp/scratch/RtmpOjqpED’ ‘~/tmp/scratch/RtmpP75sdu’
‘~/tmp/scratch/RtmpPGbDoo’ ‘~/tmp/scratch/RtmpPZff85’
‘~/tmp/scratch/RtmpPs3EV0’ ‘~/tmp/scratch/RtmpQhaJ9H’
‘~/tmp/scratch/RtmpRV6THA’ ‘~/tmp/scratch/RtmpSmJmNy’
‘~/tmp/scratch/RtmpSmmCHj’ ‘~/tmp/scratch/RtmpSrlMqK’
‘~/tmp/scratch/RtmpSuyMXv’ ‘~/tmp/scratch/RtmpU3Xnou’
‘~/tmp/scratch/RtmpUJVF4l’ ‘~/tmp/scratch/RtmpUNltuV’
‘~/tmp/scratch/RtmpUSJlHq’ ‘~/tmp/scratch/RtmpUaBNbV’
‘~/tmp/scratch/RtmpUbDHco’ ‘~/tmp/scratch/RtmpUsNwXV’
‘~/tmp/scratch/RtmpVELM7N’ ‘~/tmp/scratch/RtmpVZiRj7’
‘~/tmp/scratch/RtmpVkvAtD’ ‘~/tmp/scratch/RtmpW3xse0’
‘~/tmp/scratch/RtmpWQBFQb’ ‘~/tmp/scratch/RtmpWWvDGJ’
‘~/tmp/scratch/RtmpWcXz8e’ ‘~/tmp/scratch/RtmpWlKFMf’
‘~/tmp/scratch/RtmpWlwM0A’ ‘~/tmp/scratch/RtmpX2uALQ’
‘~/tmp/scratch/RtmpXHi7qu’ ‘~/tmp/scratch/RtmpXavDHq’
‘~/tmp/scratch/RtmpXq5NAh’ ‘~/tmp/scratch/RtmpYDkYiK’
‘~/tmp/scratch/RtmpYHEQdn’ ‘~/tmp/scratch/RtmpZ4LAdp’
‘~/tmp/scratch/RtmpZNr7zk’ ‘~/tmp/scratch/Rtmpa8lm20’
‘~/tmp/scratch/RtmpaCRZyU’ ‘~/tmp/scratch/RtmpaWi322’
‘~/tmp/scratch/Rtmpap6yaZ’ ‘~/tmp/scratch/RtmpbPftWU’
‘~/tmp/scratch/RtmpbQrBQ6’ ‘~/tmp/scratch/RtmpbWfLdd’
‘~/tmp/scratch/RtmpbwTurm’ ‘~/tmp/scratch/RtmpcKhUHs’
‘~/tmp/scratch/RtmpcbAbtM’ ‘~/tmp/scratch/RtmpcfDgy0’
‘~/tmp/scratch/RtmpckBVvG’ ‘~/tmp/scratch/RtmpdncXrO’
‘~/tmp/scratch/RtmpeDChWQ’ ‘~/tmp/scratch/RtmpeN335f’
‘~/tmp/scratch/RtmpeOGGTY’ ‘~/tmp/scratch/RtmpeR3a6D’
‘~/tmp/scratch/RtmpebLfgg’ ‘~/tmp/scratch/Rtmped1mZC’
‘~/tmp/scratch/Rtmpf1lUzf’ ‘~/tmp/scratch/RtmpfNR5Ie’
‘~/tmp/scratch/RtmpfUiURs’ ‘~/tmp/scratch/RtmpfcB8AQ’
‘~/tmp/scratch/Rtmpgf3POi’ ‘~/tmp/scratch/RtmphKfZX6’
‘~/tmp/scratch/Rtmphqm65q’ ‘~/tmp/scratch/Rtmpi63kEw’
‘~/tmp/scratch/Rtmpizo6io’ ‘~/tmp/scratch/RtmpjS4cC3’
‘~/tmp/scratch/RtmpjSTR5A’ ‘~/tmp/scratch/RtmpkIJZv4’
‘~/tmp/scratch/RtmpkKCbS9’ ‘~/tmp/scratch/RtmpkZIx8t’
‘~/tmp/scratch/RtmplA3GCG’ ‘~/tmp/scratch/RtmplPxQGr’
‘~/tmp/scratch/Rtmplh4ipq’ ‘~/tmp/scratch/RtmpmjWSrR’
‘~/tmp/scratch/Rtmpmy94bZ’ ‘~/tmp/scratch/RtmpnALp8H’
‘~/tmp/scratch/RtmpnGRRF2’ ‘~/tmp/scratch/RtmpnJcesy’
‘~/tmp/scratch/RtmpnKUW5a’ ‘~/tmp/scratch/RtmpnUw9v2’
‘~/tmp/scratch/Rtmpnwikqc’ ‘~/tmp/scratch/Rtmpo4TCTJ’
‘~/tmp/scratch/RtmppNA4Ud’ ‘~/tmp/scratch/RtmppUlJFS’
‘~/tmp/scratch/RtmpqH7rfd’ ‘~/tmp/scratch/RtmpqcTnNO’
‘~/tmp/scratch/RtmpqcbwkB’ ‘~/tmp/scratch/RtmpqgHy68’
‘~/tmp/scratch/Rtmps5o7sd’ ‘~/tmp/scratch/RtmpsPr798’
‘~/tmp/scratch/RtmpsbYLj9’ ‘~/tmp/scratch/RtmpslFm7C’
‘~/tmp/scratch/Rtmpsso7PV’ ‘~/tmp/scratch/RtmptcuiPN’
‘~/tmp/scratch/RtmptrkPvc’ ‘~/tmp/scratch/Rtmpu5rdg0’
‘~/tmp/scratch/RtmpuEqTL9’ ‘~/tmp/scratch/RtmpumFCJK’
‘~/tmp/scratch/Rtmpuw676F’ ‘~/tmp/scratch/RtmpvJu6CT’
‘~/tmp/scratch/Rtmpw1ZiU1’ ‘~/tmp/scratch/RtmpwQD2xI’
‘~/tmp/scratch/RtmpwVMntg’ ‘~/tmp/scratch/Rtmpwl2YZR’
‘~/tmp/scratch/Rtmpwrqm7G’ ‘~/tmp/scratch/RtmpwxG0Ut’
‘~/tmp/scratch/Rtmpx18XI4’ ‘~/tmp/scratch/Rtmpxa2XND’
‘~/tmp/scratch/RtmpxljdSQ’ ‘~/tmp/scratch/RtmpypK6ji’
‘~/tmp/scratch/quarto-session241db0ebf554b94e’
‘~/tmp/scratch/xvfb-run.0GXLff’ ‘~/tmp/scratch/xvfb-run.0dhBkw’
‘~/tmp/scratch/xvfb-run.1brnzp’ ‘~/tmp/scratch/xvfb-run.1mZYc4’
‘~/tmp/scratch/xvfb-run.44GD0W’ ‘~/tmp/scratch/xvfb-run.44mhjF’
‘~/tmp/scratch/xvfb-run.4Ys3jN’ ‘~/tmp/scratch/xvfb-run.5QbwMv’
‘~/tmp/scratch/xvfb-run.9UNG2u’ ‘~/tmp/scratch/xvfb-run.9c7bFO’
‘~/tmp/scratch/xvfb-run.A1dZmE’ ‘~/tmp/scratch/xvfb-run.ADn6tJ’
‘~/tmp/scratch/xvfb-run.BQk8bn’ ‘~/tmp/scratch/xvfb-run.D9aYF4’
‘~/tmp/scratch/xvfb-run.DTV0DX’ ‘~/tmp/scratch/xvfb-run.EEe4UH’
‘~/tmp/scratch/xvfb-run.EX05A1’ ‘~/tmp/scratch/xvfb-run.Ei8NlQ’
‘~/tmp/scratch/xvfb-run.FAkTeu’ ‘~/tmp/scratch/xvfb-run.Hxnhro’
‘~/tmp/scratch/xvfb-run.IDEww7’ ‘~/tmp/scratch/xvfb-run.JEloxm’
‘~/tmp/scratch/xvfb-run.JVUJWE’ ‘~/tmp/scratch/xvfb-run.JxNNS6’
‘~/tmp/scratch/xvfb-run.KkXMaM’ ‘~/tmp/scratch/xvfb-run.KyGR8u’
‘~/tmp/scratch/xvfb-run.LxbqCu’ ‘~/tmp/scratch/xvfb-run.NT2Zcg’
‘~/tmp/scratch/xvfb-run.O7w93j’ ‘~/tmp/scratch/xvfb-run.OPeBkT’
‘~/tmp/scratch/xvfb-run.OfUVrp’ ‘~/tmp/scratch/xvfb-run.QwLute’
‘~/tmp/scratch/xvfb-run.RBqEGF’ ‘~/tmp/scratch/xvfb-run.SOqJYf’
‘~/tmp/scratch/xvfb-run.TNLvYI’ ‘~/tmp/scratch/xvfb-run.TNgdk9’
‘~/tmp/scratch/xvfb-run.WRIzFV’ ‘~/tmp/scratch/xvfb-run.X8lNko’
‘~/tmp/scratch/xvfb-run.XEiPgX’ ‘~/tmp/scratch/xvfb-run.atl0U5’
‘~/tmp/scratch/xvfb-run.bx3nor’ ‘~/tmp/scratch/xvfb-run.dYyCzC’
‘~/tmp/scratch/xvfb-run.e7QVD5’ ‘~/tmp/scratch/xvfb-run.eY3GQl’
‘~/tmp/scratch/xvfb-run.ejq0gI’ ‘~/tmp/scratch/xvfb-run.fMaiRR’
‘~/tmp/scratch/xvfb-run.frjQDx’ ‘~/tmp/scratch/xvfb-run.g3ppeO’
‘~/tmp/scratch/xvfb-run.gKv8Nt’ ‘~/tmp/scratch/xvfb-run.h8dXdL’
‘~/tmp/scratch/xvfb-run.hFWFDI’ ‘~/tmp/scratch/xvfb-run.icDtbC’
‘~/tmp/scratch/xvfb-run.jBbVpx’ ‘~/tmp/scratch/xvfb-run.jU5NgN’
‘~/tmp/scratch/xvfb-run.jc4XKN’ ‘~/tmp/scratch/xvfb-run.k57LO5’
‘~/tmp/scratch/xvfb-run.k62MJk’ ‘~/tmp/scratch/xvfb-run.lNIstg’
‘~/tmp/scratch/xvfb-run.m9ydIP’ ‘~/tmp/scratch/xvfb-run.mIfYEN’
‘~/tmp/scratch/xvfb-run.mPBaLK’ ‘~/tmp/scratch/xvfb-run.mhVcdb’
‘~/tmp/scratch/xvfb-run.nHxIbe’ ‘~/tmp/scratch/xvfb-run.np7yAi’
‘~/tmp/scratch/xvfb-run.pVyfpv’ ‘~/tmp/scratch/xvfb-run.qD73F8’
‘~/tmp/scratch/xvfb-run.tY0pRm’ ‘~/tmp/scratch/xvfb-run.uYG1RC’
‘~/tmp/scratch/xvfb-run.ubDQYK’ ‘~/tmp/scratch/xvfb-run.vOqam6’
‘~/tmp/scratch/xvfb-run.vwxe3q’ ‘~/tmp/scratch/xvfb-run.wYYpDE’
‘~/tmp/scratch/xvfb-run.wagRu8’ ‘~/tmp/scratch/xvfb-run.xGD26C’
‘~/tmp/scratch/xvfb-run.xkoa16’ ‘~/tmp/scratch/xvfb-run.xp0bDV’
‘~/tmp/scratch/xvfb-run.yILmTK’ ‘~/tmp/scratch/xvfb-run.yqGhZe’
‘~/tmp/scratch/xvfb-run.zr6lvV’
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.2.2
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘test-actions.R’ [6s/20s]
Running ‘test-alias.R’ [10s/19s]
Running the tests in ‘tests/test-alias.R’ failed.
Complete output:
> library("repo.data")
Attaching package: 'repo.data'
The following object is masked from 'package:stats':
alias
> alias_columns <- c("Package", "Source", "Target")
> pkges <- c("BaseSet", "experDesign")
> bpkges <- c("tools", "compiler")
>
> # Test that cache works
> st <- system.time(ca <- cran_alias(pkges))
Downloading and caching CRAN aliases for this session.
> repo.data:::no_internet(ca)
> stopifnot(colnames(ca) == alias_columns)
> stopifnot(is.data.frame(ca))
> st1 <- system.time(ca2 <- cran_alias(pkges))
> stopifnot("Cache didn't work" = st1[[3]] < st[[3]])
> stopifnot("Cache was not the same" = all.equal(ca, ca2))
>
> clean_cache()
> st2 <- system.time(ca3 <- cran_alias(pkges))
Downloading and caching CRAN aliases for this session.
> repo.data:::no_internet(ca3)
> stopifnot("Clean cache restores initial state" = st2[[3]] > st1[[3]])
> stopifnot("Still same result" = all.equal(ca, ca3))
>
> ca <- cran_alias()
Warning: Packages with targets not present in a OS:
'sfsmisc'
> repo.data:::no_internet(ca)
> stopifnot(colnames(ca) == alias_columns)
> ca2 <- cran_alias()
> stopifnot("Cache returns the same for all packages" = all.equal(ca, ca2))
>
> st <- system.time(ba <- base_alias(bpkges))
Downloading and caching base R's aliases for this session.
> repo.data:::no_internet(ba)
> stopifnot(colnames(ba) == alias_columns)
> stopifnot(is.data.frame(ba))
> st1 <- system.time(ba2 <- base_alias(bpkges))
> stopifnot("Cache didn't work" = st1[[3]] < st[[3]])
> stopifnot("Cache was not the same" = all.equal(ba, ba2))
>
> clean_cache()
> st2 <- system.time(ba3 <- base_alias(bpkges))
Downloading and caching base R's aliases for this session.
> repo.data:::no_internet(ba3)
> stopifnot("Clean cache restores initial state" = st2[[3]] > st1[[3]])
> stopifnot("Still same result" = all.equal(ba, ba3))
>
> ba <- base_alias()
> repo.data:::no_internet(ba)
> stopifnot(colnames(ba) == alias_columns)
> ba2 <- base_alias()
> stopifnot("Cache returns the same for all packages" = all.equal(ba, ba2))
>
>
> clean_cache()
>
> oldrepos <- getOption("repos")
> on.exit(options(oldrepos), add = TRUE)
> setRepositories(ind = 2, addURLs = c(CRAN = "https://cran.r-project.org"))
> pkges <- c(pkges, "BioCor")
>
> st <- system.time(ba <- alias(pkges))
> repo.data:::no_internet(ba)
> stopifnot(colnames(ba) == alias_columns)
> st1 <- system.time(ba2 <- alias(pkges))
> stopifnot("Cache alias didn't work" = any(st1 < st))
> stopifnot("Alias with cache was not the same" = all.equal(ba, ba2))
> missing_pkg <- pkges[!pkges %in% ba2$Package]
>
> if (length(missing_pkg)) {
+ stop(sprintf("All packages are present on alias output: %s", toString(missing_pkg)))
+ }
Error: All packages are present on alias output: BioCor
Execution halted
Flavor: r-oldrel-macos-arm64
Version: 0.2.2
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘test-actions.R’ [12s/26s]
Running ‘test-alias.R’ [17s/31s]
Running the tests in ‘tests/test-alias.R’ failed.
Complete output:
> library("repo.data")
Attaching package: 'repo.data'
The following object is masked from 'package:stats':
alias
> alias_columns <- c("Package", "Source", "Target")
> pkges <- c("BaseSet", "experDesign")
> bpkges <- c("tools", "compiler")
>
> # Test that cache works
> st <- system.time(ca <- cran_alias(pkges))
Downloading and caching CRAN aliases for this session.
> repo.data:::no_internet(ca)
> stopifnot(colnames(ca) == alias_columns)
> stopifnot(is.data.frame(ca))
> st1 <- system.time(ca2 <- cran_alias(pkges))
> stopifnot("Cache didn't work" = st1[[3]] < st[[3]])
> stopifnot("Cache was not the same" = all.equal(ca, ca2))
>
> clean_cache()
> st2 <- system.time(ca3 <- cran_alias(pkges))
Downloading and caching CRAN aliases for this session.
> repo.data:::no_internet(ca3)
> stopifnot("Clean cache restores initial state" = st2[[3]] > st1[[3]])
> stopifnot("Still same result" = all.equal(ca, ca3))
>
> ca <- cran_alias()
Warning: Packages with targets not present in a OS:
'sfsmisc'
> repo.data:::no_internet(ca)
> stopifnot(colnames(ca) == alias_columns)
> ca2 <- cran_alias()
> stopifnot("Cache returns the same for all packages" = all.equal(ca, ca2))
>
> st <- system.time(ba <- base_alias(bpkges))
Downloading and caching base R's aliases for this session.
> repo.data:::no_internet(ba)
> stopifnot(colnames(ba) == alias_columns)
> stopifnot(is.data.frame(ba))
> st1 <- system.time(ba2 <- base_alias(bpkges))
> stopifnot("Cache didn't work" = st1[[3]] < st[[3]])
> stopifnot("Cache was not the same" = all.equal(ba, ba2))
>
> clean_cache()
> st2 <- system.time(ba3 <- base_alias(bpkges))
Downloading and caching base R's aliases for this session.
> repo.data:::no_internet(ba3)
> stopifnot("Clean cache restores initial state" = st2[[3]] > st1[[3]])
> stopifnot("Still same result" = all.equal(ba, ba3))
>
> ba <- base_alias()
> repo.data:::no_internet(ba)
> stopifnot(colnames(ba) == alias_columns)
> ba2 <- base_alias()
> stopifnot("Cache returns the same for all packages" = all.equal(ba, ba2))
>
>
> clean_cache()
>
> oldrepos <- getOption("repos")
> on.exit(options(oldrepos), add = TRUE)
> setRepositories(ind = 2, addURLs = c(CRAN = "https://cran.r-project.org"))
> pkges <- c(pkges, "BioCor")
>
> st <- system.time(ba <- alias(pkges))
> repo.data:::no_internet(ba)
> stopifnot(colnames(ba) == alias_columns)
> st1 <- system.time(ba2 <- alias(pkges))
> stopifnot("Cache alias didn't work" = any(st1 < st))
> stopifnot("Alias with cache was not the same" = all.equal(ba, ba2))
> missing_pkg <- pkges[!pkges %in% ba2$Package]
>
> if (length(missing_pkg)) {
+ stop(sprintf("All packages are present on alias output: %s", toString(missing_pkg)))
+ }
Error: All packages are present on alias output: BioCor
Execution halted
Flavor: r-oldrel-macos-x86_64
Version: 0.2.2
Check: tests
Result: ERROR
Running 'spelling.R' [0s]
Running 'test-actions.R' [1s]
Running 'test-alias.R' [34s]
Running 'test-bioconductor.R' [5s]
Running 'test-cran_actions.R' [0s]
Running 'test-cran_archive.R' [55s]
Running 'test-cran_doom.R' [31s]
Running 'test-cran_history.R' [0s]
Running 'test-cran_issues.R' [0s]
Running 'test-cran_targets_links.R' [0s]
Running 'test-cran_version.R' [6s]
Running 'test-dates.R' [3s]
Running 'test-help.R' [0s]
Running 'test-links.R' [64s]
Running 'test-maintainers.R' [4s]
Running 'test-package_date.R' [6s]
Running 'test-package_repos.R' [33s]
Running 'test-update_dependencies.R' [57s]
Running the tests in 'tests/test-alias.R' failed.
Complete output:
> library("repo.data")
Attaching package: 'repo.data'
The following object is masked from 'package:stats':
alias
> alias_columns <- c("Package", "Source", "Target")
> pkges <- c("BaseSet", "experDesign")
> bpkges <- c("tools", "compiler")
>
> # Test that cache works
> st <- system.time(ca <- cran_alias(pkges))
Downloading and caching CRAN aliases for this session.
> repo.data:::no_internet(ca)
> stopifnot(colnames(ca) == alias_columns)
> stopifnot(is.data.frame(ca))
> st1 <- system.time(ca2 <- cran_alias(pkges))
> stopifnot("Cache didn't work" = st1[[3]] < st[[3]])
> stopifnot("Cache was not the same" = all.equal(ca, ca2))
>
> clean_cache()
> st2 <- system.time(ca3 <- cran_alias(pkges))
Downloading and caching CRAN aliases for this session.
> repo.data:::no_internet(ca3)
> stopifnot("Clean cache restores initial state" = st2[[3]] > st1[[3]])
> stopifnot("Still same result" = all.equal(ca, ca3))
>
> ca <- cran_alias()
Warning: Packages with targets not present in a OS:
'sfsmisc'
> repo.data:::no_internet(ca)
> stopifnot(colnames(ca) == alias_columns)
> ca2 <- cran_alias()
> stopifnot("Cache returns the same for all packages" = all.equal(ca, ca2))
>
> st <- system.time(ba <- base_alias(bpkges))
Downloading and caching base R's aliases for this session.
> repo.data:::no_internet(ba)
> stopifnot(colnames(ba) == alias_columns)
> stopifnot(is.data.frame(ba))
> st1 <- system.time(ba2 <- base_alias(bpkges))
> stopifnot("Cache didn't work" = st1[[3]] < st[[3]])
> stopifnot("Cache was not the same" = all.equal(ba, ba2))
>
> clean_cache()
> st2 <- system.time(ba3 <- base_alias(bpkges))
Downloading and caching base R's aliases for this session.
> repo.data:::no_internet(ba3)
> stopifnot("Clean cache restores initial state" = st2[[3]] > st1[[3]])
> stopifnot("Still same result" = all.equal(ba, ba3))
>
> ba <- base_alias()
> repo.data:::no_internet(ba)
> stopifnot(colnames(ba) == alias_columns)
> ba2 <- base_alias()
> stopifnot("Cache returns the same for all packages" = all.equal(ba, ba2))
>
>
> clean_cache()
>
> oldrepos <- getOption("repos")
> on.exit(options(oldrepos), add = TRUE)
> setRepositories(ind = 2, addURLs = c(CRAN = "https://cran.r-project.org"))
> pkges <- c(pkges, "BioCor")
>
> st <- system.time(ba <- alias(pkges))
> repo.data:::no_internet(ba)
> stopifnot(colnames(ba) == alias_columns)
> st1 <- system.time(ba2 <- alias(pkges))
> stopifnot("Cache alias didn't work" = any(st1 < st))
> stopifnot("Alias with cache was not the same" = all.equal(ba, ba2))
> missing_pkg <- pkges[!pkges %in% ba2$Package]
>
> if (length(missing_pkg)) {
+ stop(sprintf("All packages are present on alias output: %s", toString(missing_pkg)))
+ }
Error: All packages are present on alias output: BioCor
Execution halted
Flavor: r-oldrel-windows-x86_64