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: 0x00000232bf53a958>


> 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\RtmpoZ0CHu\file58a81310589d -sstdout=chess_game_01.fromInkscape.eps.xml C:\r_packages\pkgcheck\CRAN\grImport\tmp\RtmpoZ0CHu\file58a82bc8bd.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: 0x000001319bbdd138>


> 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\RtmpUJfXR8\file84e45d064452 -sstdout=hello.xml C:\r_packages\pkgcheck\CRAN\grImport\tmp\RtmpUJfXR8\file84e441344bec.ps'
Execution halted

  'import.Rnw'... failed
  'importText.Rnw'... failed