CRAN Package Check Results for Package grImport

Last updated on 2021-11-29 21:51:40 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.9-5 3.79 65.19 68.98 OK
r-devel-linux-x86_64-debian-gcc 0.9-5 3.37 50.49 53.86 OK
r-devel-linux-x86_64-fedora-clang 0.9-5 97.47 OK
r-devel-linux-x86_64-fedora-gcc 0.9-5 86.58 OK
r-devel-windows-x86_64-new-UL 0.9-5 13.00 162.00 175.00 OK
r-devel-windows-x86_64-new-TK 0.9-5 ERROR
r-devel-windows-x86_64-old 0.9-5 8.00 77.00 85.00 OK
r-patched-linux-x86_64 0.9-5 5.24 64.55 69.79 OK
r-patched-solaris-x86 0.9-5 111.60 OK
r-release-linux-x86_64 0.9-5 3.78 64.28 68.06 OK
r-release-macos-arm64 0.9-5 OK
r-release-macos-x86_64 0.9-5 OK
r-release-windows-ix86+x86_64 0.9-5 9.00 81.00 90.00 OK
r-oldrel-macos-x86_64 0.9-5 OK
r-oldrel-windows-ix86+x86_64 0.9-5 8.00 101.00 109.00 OK

Check Details

Version: 0.9-5
Check: tests
Result: ERROR
     Running 'testpage.R'
    Running the tests in 'tests/testpage.R' failed.
    Complete output:
     > #######################################
     > # Produce testpage.ps from R
     > #######################################
     >
     > require(grid)
     Loading required package: grid
     >
     > # A star polygon which is filled differently
     > # by non-zero winding rule and even-odd fill
     > star <- function(lab, gp=gpar(fill="black", lwd=1)) {
     + grid.text(lab, y=unit(1, "npc"), just="bottom")
     + pushViewport(viewport(xscale=c(-1, 1),
     + yscale=c(-1, 1)))
     + t <- seq(0, 2*pi, length=6)[-6]
     + x <- cos(t)
     + y <- sin(t)
     + grid.polygon(x[c(1, 4, 2, 5, 3)],
     + y[c(1, 4, 2, 5, 3)],
     + default="native",
     + gp=gp)
     + popViewport()
     + }
     >
     > postscript("testpage.ps", horiz=FALSE)
     > # grid.newpage()
     > pushViewport(viewport(layout=grid.layout(6, 5,
     + heights=unit(c(1, 1), c("lines", "null")),
     + respect=TRUE)))
     > pushViewport(viewport(layout.pos.row=2,
     + layout.pos.col=1))
     > star("eofill")
     > popViewport()
     > pushViewport(viewport(layout.pos.row=2,
     + layout.pos.col=2))
     > star("fill")
     > popViewport()
     > pushViewport(viewport(layout.pos.row=2,
     + layout.pos.col=3))
     > star("stroke", gp=gpar(fill=NA))
     > popViewport()
     > pushViewport(viewport(layout.pos.row=2,
     + layout.pos.col=4))
     > star("colour", gp=gpar(fill="light blue"))
     > popViewport()
     > pushViewport(viewport(layout.pos.row=2,
     + layout.pos.col=5))
     > star("lwd", gp=gpar(lwd=3))
     > dev.off()
     null device
     1
     >
     >
     > # Modify the PostScript file to insert eofill def and
     > # change one of the fills to eofill
     > testpageps <- readLines("testpage.ps")
     > p3line <- grep("^/p3", testpageps)
     > testpageps[p3line] <-
     + paste(testpageps[p3line],
     + "\n/p4 { gsave bg eofill grestore stroke } def")
     > fillline <- grep(" p3$", testpageps)
     > testpageps[fillline[1]] <- gsub(" p3$", " p4", testpageps[fillline[1]])
     > writeLines(testpageps, "testpage.ps")
     >
     >
     >
     > #######################################
     > # Now import testpage.ps and draw it in various ways
     > #######################################
     >
     > require(grImport)
     Loading required package: grImport
     Loading required package: XML
     >
     > PostScriptTrace("testpage.ps", "testpage.xml")
     Error in PostScriptTrace("testpage.ps", "testpage.xml") :
     status 127 in running command 'gswin32c.exe -q -dBATCH -dNOPAUSE -dNOSAFER -sDEVICE=ps2write -sOutputFile=C:\r_packages\pkgcheck\CRAN\grImport\tmp\RtmpIT7lRU\file8cc7368186e -sstdout=testpage.xml C:\r_packages\pkgcheck\CRAN\grImport\tmp\RtmpIT7lRU\file8cc65e1776b.ps'
     In addition: Warning message:
     In system(cmd, invisible = TRUE) : 'gswin32c.exe' not found
     Execution halted
Flavor: r-devel-windows-x86_64-new-TK

Version: 0.9-5
Check: running R code from vignettes
Result: ERROR
    Errors in running code in vignettes:
    when running code in 'import.Rnw'
    
    > options(prompt = "R> ")
    
    > options(continue = "+ ")
    
    > options(width = 60)
    
    > options(useFancyQuotes = FALSE)
    
    > strOptions(strict.width = TRUE)
    $strict.width
    [1] TRUE
    
    $digits.d
    [1] 3
    
    $vec.len
    [1] 4
    
    $list.len
    [1] 99
    
    $deparse.lines
    NULL
    
    $drop.deparse.attr
    [1] TRUE
    
    $formatNum
    function (x, ...)
    format(x, trim = TRUE, drop0trailing = TRUE, ...)
    <environment: 0x000000001339e920>
    
    
    > library(grid)
    
    > library(lattice)
    
    > chess <- read.table("chessmod.txt", sep = ":", quote = "",
    + col.names = c("player1", "player2", "result", "moves", "year",
    + "place", .... [TRUNCATED]
    
    > chess$result <- factor(ifelse(chess$result == "1-1",
    + "draw", ifelse((chess$result == "1-0" & chess$player1 ==
    + "La Bourdonnais") | .... [TRUNCATED]
    
    > chess$opening <- reorder(factor(gsub("^... |, .+$",
    + "", chess$openingDetailed)), chess$moves, FUN = median)
    
    > chess$draw <- ifelse(chess$result == "draw", "draw",
    + "result")
    
    > chess.tab <- xtabs(~moves + result, chess)
    
    > chess.tab.df <- as.data.frame(chess.tab)
    
    > chess.tab.df$nmoves <- as.numeric(as.character(chess.tab.df$moves))
    
    > chess.df <- subset(chess.tab.df, Freq > 0)
    
    > chess.df <- rbind(chess.df, data.frame(moves = NA,
    + result = "win", Freq = 0, nmoves = 1000))
    
    > print(xyplot(Freq ~ nmoves | result, data = chess.df,
    + type = "h", layout = c(1, 3), xlim = c(0, 100), scales = list(y = list(at = seq(0,
    + .... [TRUNCATED]
    
    > library("grImport")
    Loading required package: XML
    
    > PostScriptTrace("chess_game_01.fromInkscape.eps")
    Warning in system(cmd, invisible = TRUE) : 'gswin32c.exe' not found
    
     When sourcing 'import.R':
    Error: status 127 in running command 'gswin32c.exe -q -dBATCH -dNOPAUSE -dNOSAFER -sDEVICE=ps2write -sOutputFile=C:\r_packages\pkgcheck\CRAN\grImport\tmp\RtmpQJUBYi\file85248db7125 -sstdout=chess_game_01.fromInkscape.eps.xml C:\r_packages\pkgcheck\CRAN\grImport\tmp\RtmpQJUBYi\file85245f471aea.ps'
    Execution halted
    when running code in 'importText.Rnw'
    
    > options(prompt = "R> ")
    
    > options(continue = "+ ")
    
    > options(width = 60)
    
    > options(useFancyQuotes = FALSE)
    
    > strOptions(strict.width = TRUE)
    $strict.width
    [1] TRUE
    
    $digits.d
    [1] 3
    
    $vec.len
    [1] 4
    
    $list.len
    [1] 99
    
    $deparse.lines
    NULL
    
    $drop.deparse.attr
    [1] TRUE
    
    $formatNum
    function (x, ...)
    format(x, trim = TRUE, drop0trailing = TRUE, ...)
    <environment: 0x0000000013f904d8>
    
    
    > library(grid)
    
    > library(lattice)
    
    > addBBox <- function(existingPic) {
    + PostScriptTrace("helloBBox.ps", "helloBBox.xml")
    + helloBBox <- readPicture("helloBBox.xml")
    + grid .... [TRUNCATED]
    
    > library(grImport)
    Loading required package: XML
    
    > PostScriptTrace("hello.ps", "hello.xml")
    Warning in system(cmd, invisible = TRUE) : 'gswin32c.exe' not found
    
     When sourcing 'importText.R':
    Error: status 127 in running command 'gswin32c.exe -q -dBATCH -dNOPAUSE -dNOSAFER -sDEVICE=ps2write -sOutputFile=C:\r_packages\pkgcheck\CRAN\grImport\tmp\RtmpuGv0eZ\file68683cf67d5d -sstdout=hello.xml C:\r_packages\pkgcheck\CRAN\grImport\tmp\RtmpuGv0eZ\file68686b80148a.ps'
    Execution halted
    
     'import.Rnw'... failed
     'importText.Rnw'... failed
Flavor: r-devel-windows-x86_64-new-TK

Version: 0.9-5
Check: re-building of vignette outputs
Result: NOTE
    Error(s) in re-building vignettes:
    --- re-building 'import.Rnw' using Sweave
    Loading required package: XML
    Warning in system(cmd, invisible = TRUE) : 'gswin32c.exe' not found
    
    Error: processing vignette 'import.Rnw' failed with diagnostics:
     chunk 5 (label = chesspiece)
    Error in PostScriptTrace("chess_game_01.fromInkscape.eps") :
     status 127 in running command 'gswin32c.exe -q -dBATCH -dNOPAUSE -dNOSAFER -sDEVICE=ps2write -sOutputFile=C:\r_packages\pkgcheck\CRAN\grImport\tmp\RtmpYjwh8w\file250042c8662e -sstdout=chess_game_01.fromInkscape.eps.xml C:\r_packages\pkgcheck\CRAN\grImport\tmp\RtmpYjwh8w\file25005588c18.ps'
    
    --- failed re-building 'import.Rnw'
    
    --- re-building 'importText.Rnw' using Sweave
    Warning in system(cmd, invisible = TRUE) : 'gswin32c.exe' not found
    
    Error: processing vignette 'importText.Rnw' failed with diagnostics:
     chunk 4 (label = simpleimport)
    Error in PostScriptTrace("hello.ps", "hello.xml") :
     status 127 in running command 'gswin32c.exe -q -dBATCH -dNOPAUSE -dNOSAFER -sDEVICE=ps2write -sOutputFile=C:\r_packages\pkgcheck\CRAN\grImport\tmp\RtmpYjwh8w\file250047fa626f -sstdout=hello.xml C:\r_packages\pkgcheck\CRAN\grImport\tmp\RtmpYjwh8w\file2500822e07.ps'
    
    --- failed re-building 'importText.Rnw'
    
    SUMMARY: processing the following files failed:
     'import.Rnw' 'importText.Rnw'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-windows-x86_64-new-TK