CRAN Package Check Results for Package exams

Last updated on 2020-07-11 00:48:49 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.3-6 13.90 158.06 171.96 OK
r-devel-linux-x86_64-debian-gcc 2.3-6 12.29 123.13 135.42 OK
r-devel-linux-x86_64-fedora-clang 2.3-6 220.84 OK
r-devel-linux-x86_64-fedora-gcc 2.3-6 210.43 OK
r-devel-windows-ix86+x86_64 2.3-6 23.00 347.00 370.00 OK
r-patched-linux-x86_64 2.3-6 14.78 157.16 171.94 OK
r-patched-solaris-x86 2.3-6 202.80 ERROR
r-release-linux-x86_64 2.3-6 13.51 155.36 168.87 OK
r-release-osx-x86_64 2.3-6 OK
r-release-windows-ix86+x86_64 2.3-6 23.00 437.00 460.00 OK
r-oldrel-osx-x86_64 2.3-6 OK
r-oldrel-windows-ix86+x86_64 2.3-6 27.00 348.00 375.00 OK

Check Details

Version: 2.3-6
Check: examples
Result: ERROR
    Running examples in ‘exams-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: include_tikz
    > ### Title: Including Figures from TikZ Code in Exercises
    > ### Aliases: include_tikz
    > ### Keywords: utilities
    >
    > ### ** Examples
    >
    > ## TikZ code for a logic gate
    > tz <- "
    + \\node[left,draw, logic gate inputs=nn, xor gate US,fill=white,,scale=2.5] (G1) at (0,0) {};
    + \\draw (G1.output) --++ (0.5,0) node[right] (y) {$y$};
    + \\draw (G1.input 1) --++ (-0.5,0) node[left] {$a$};
    + \\draw (G1.input 2) --++ (-0.5,0) node[left] {$b$};
    + "
    >
    > ## switch to temporary directory
    > wd <- getwd()
    > td <- tempfile()
    > dir.create(td)
    > setwd(td)
    > dir()
    character(0)
    >
    > ## produce PDF figure and produce includegraphics statement
    > include_tikz(tz, name = "logicgate", format = "pdf",
    + library = c("arrows", "shapes.gates.logic.US", "calc"),
    + width = "2.5cm")
    Loading required namespace: tinytex
    Error in switch(os_index, win_app_dir("TinyTeX"), "~/.TinyTeX", "~/Library/TinyTeX") :
     EXPR must be a length 1 vector
    Calls: include_tikz ... file.path -> list.files -> file.path -> default_inst
    Execution halted
Flavor: r-patched-solaris-x86

Version: 2.3-6
Check: tests
Result: ERROR
     Running ‘encodings.R’
    Running the tests in ‘tests/encodings.R’ failed.
    Complete output:
     > if(!identical(Sys.getlocale(), "C")) {
     + library("exams")
     + exams2pdf("currency8", encoding = "UTF-8", template = "plain8", dir = ".")
     + exams2pdf("currency9", encoding = "Latin-9", template = "plain9", dir = ".")
     + }
     Loading required namespace: tinytex
     Error in switch(os_index, win_app_dir("TinyTeX"), "~/.TinyTeX", "~/Library/TinyTeX") :
     EXPR must be a length 1 vector
     Calls: exams2pdf ... file.path -> list.files -> file.path -> default_inst
     Execution halted
Flavor: r-patched-solaris-x86

Version: 2.3-6
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘exams.Rnw’ using Sweave
    Loading required namespace: tinytex
    
    Error: processing vignette 'exams.Rnw' failed with diagnostics:
     chunk 7 (label = tstat-non-interacive)
    Error in switch(os_index, win_app_dir("TinyTeX"), "~/.TinyTeX", "~/Library/TinyTeX") :
     EXPR must be a length 1 vector
    
    --- failed re-building ‘exams.Rnw’
    
    --- re-building ‘exams2.Rnw’ using Sweave
    Warning in exams(myexam, n = 3, dir = odir, template = c("exam", "solution")) :
     The template exam.tex has been adapted to exams2pdf() and is not
     fully compatible with exams() anymore. Template oexam.tex used
     instead.
    Warning in exams(myexam, n = 3, dir = odir, template = c("exam", "solution")) :
     The template solution.tex has been adapted to exams2pdf() and is
     not fully compatible with exams() anymore. Template osolution.tex
     used instead.
     adding: qti.xml (deflated 64%)
    --- finished re-building ‘exams2.Rnw’
    
    SUMMARY: processing the following file failed:
     ‘exams.Rnw’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-patched-solaris-x86