Last updated on 2024-03-27 19:57:00 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.4-12 | 3.66 | 30.03 | 33.69 | OK | |
r-devel-linux-x86_64-debian-gcc | 0.4-12 | 3.46 | 23.64 | 27.10 | OK | |
r-devel-linux-x86_64-fedora-clang | 0.4-12 | 43.46 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 0.4-12 | 42.62 | OK | |||
r-devel-windows-x86_64 | 0.4-12 | 4.00 | 193.00 | 197.00 | ERROR | |
r-patched-linux-x86_64 | 0.4-12 | 3.39 | 29.88 | 33.27 | OK | |
r-release-linux-x86_64 | 0.4-12 | 4.44 | 29.77 | 34.21 | OK | |
r-release-macos-arm64 | 0.4-12 | 21.00 | OK | |||
r-release-macos-x86_64 | 0.4-12 | 26.00 | OK | |||
r-release-windows-x86_64 | 0.4-12 | 4.00 | 47.00 | 51.00 | OK | |
r-oldrel-macos-arm64 | 0.4-12 | 20.00 | OK | |||
r-oldrel-windows-x86_64 | 0.4-12 | 13.00 | 54.00 | 67.00 | OK |
Version: 0.4-12
Check: tests
Result: ERROR
Running 'bugs.R' [151s]
Running 'logo-ex.R' [1s]
Running the tests in 'tests/bugs.R' failed.
Complete output:
> library("pixmap")
>
> ## this triggered a bug in R <= 1.9.1
>
> x <- pixmapIndexed(rep(1:8, 9), nrow=6, col=hsv(runif(8),runif(8),runif(8)))
Warning message:
In rep(cellres, length = 2) : 'x' is NULL so the result will be NULL
> plot(x)
> print(x)
Pixmap image
Type : pixmapIndexed
Size : 6x12
Resolution : 1x1
Bounding box : 0 0 12 6
Nr. of colors : 8 of 8
> file <- tempfile()
> write.pnm(x, file=file)
> unlink(file)
>
> ###**********************************************************
>
> # coercion of indexed -> RGB
>
> x1 <- as(x, "pixmapRGB")
> x2 <- as(x1, "pixmapIndexed")
> x3 <- as(x2, "pixmapRGB")
> stopifnot(all.equal(x, x2))
> stopifnot(all.equal(x1, x3))
>
> ###**********************************************************
>
> ## plotting images with only 1 column or row
> ## (from bug report by Robert Esswein)
>
> library(pixmap)
>
> ## Vertical colorbar:
> pm <- pixmapIndexed(matrix(1:16,ncol=1,nrow=16),col=palette())
Warning messages:
1: In rep(cellres, length = 2) : 'x' is NULL so the result will be NULL
2: In pixmapIndexed(matrix(1:16, ncol = 1, nrow = 16), col = palette()) :
number of of colors smaller than number of data values, recycling
> plot(pm)
>
> ## Horizontal colorbar attempt:
> pm <- pixmapIndexed(matrix(1:16,ncol=16,nrow=1),col=palette())
Warning messages:
1: In rep(cellres, length = 2) : 'x' is NULL so the result will be NULL
2: In pixmapIndexed(matrix(1:16, ncol = 16, nrow = 1), col = palette()) :
number of of colors smaller than number of data values, recycling
> plot(pm)
>
> proc.time()
user system elapsed
0.31 0.06 0.35
Flavor: r-devel-windows-x86_64