Last updated on 2026-06-21 21:57:56 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-gcc | 0.2.2 | 3.01 | 323.06 | 326.07 | OK | |
| r-devel-linux-x86_64-fedora-clang | 0.2.2 | 698.91 | OK | |||
| r-devel-windows-x86_64 | 0.2.2 | 8.00 | 517.00 | 525.00 | 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-oldrel-macos-arm64 | 0.2.2 | 1.00 | 176.00 | 177.00 | ERROR | |
| r-oldrel-macos-x86_64 | 0.2.2 | 3.00 | 517.00 | 520.00 | ERROR |
Version: 0.2.2
Check: tests
Result: ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘test-actions.R’ [6s/20s]
Running ‘test-alias.R’ [9s/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/23s]
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