CRAN Package Check Results for Package define

Last updated on 2020-06-18 07:50:12 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.8 10.84 84.28 95.12 OK
r-devel-linux-x86_64-debian-gcc 0.2.8 8.24 61.49 69.73 OK
r-devel-linux-x86_64-fedora-clang 0.2.8 122.91 OK
r-devel-linux-x86_64-fedora-gcc 0.2.8 108.27 OK
r-devel-windows-ix86+x86_64 0.2.8 48.00 104.00 152.00 OK
r-patched-linux-x86_64 0.2.8 10.73 77.13 87.86 OK
r-patched-solaris-x86 0.2.8 164.50 ERROR
r-release-linux-x86_64 0.2.8 9.75 81.02 90.77 OK
r-release-osx-x86_64 0.2.8 OK
r-release-windows-ix86+x86_64 0.2.8 24.00 104.00 128.00 OK
r-oldrel-osx-x86_64 0.2.8 OK
r-oldrel-windows-ix86+x86_64 0.2.8 22.00 104.00 126.00 OK

Check Details

Version: 0.2.8
Check: examples
Result: ERROR
    Running examples in ‘define-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: define
    > ### Title: Define objects per FDA guidance.
    > ### Aliases: define define.character
    >
    > ### ** Examples
    >
    > library(spec) # read and write data specifications
    > library(latexpdf) # make dummy logo for pdf
    > library(encode) # encode factor levels for spec file
    >
    > dir <- tempdir() # a place to experiment
    > dir <- gsub('\\\\','/',dir) # clean up windows path
    > outdir <- file.path(dir,'out') # where to put the define archive
    > csv <- file.path(dir,'theoph.csv') # path to data
    > script <- file.path(dir,'theoph.R') # path to script making data
    > spec <- file.path(dir,'theoph.spec') # path to data specification
    >
    > # make dummy logo
    > ## Not run:
    > ##D as.pdf('{\\huge \\em Pharma, Inc.}',wide = 50, long = 8,stem = 'logo', dir = dir)
    > ## End(Not run)
    > # browseURL(system.file(package = 'define', 'logo.pdf')) # cached
    > logo <- system.file(package = 'define', 'logo.pdf') # path to dummy logo
    >
    > # make data more interesting
    > Theoph$renal <- 0
    >
    > # create script
    > code <- "write.csv(x = Theoph,file = csv,row.names = FALSE,quote = FALSE)"
    > writeLines(code,script)
    >
    > # 'run' the script
    > eval(parse(text = code))
    >
    > # make data specification
    > s <- specification(Theoph)
    > renalcat <- c(
    + 'GFR >= 90 mL/min/1.73m^2',
    + '60 <= GFR < 90 mL/min/1.73m^2',
    + '45 <= GFR < 60 mL/min/1.73m^2',
    + '30 <= GFR < 45 mL/min/1.73m^2',
    + 'GFR < 30 mL/min/1.73m^2'
    + )
    > codes <- encode(0:4, renalcat)
    > codes
    [1] "||0|GFR >= 90 mL/min/1.73m^2||1|60 <= GFR < 90 mL/min/1.73m^2||2|45 <= GFR < 60 mL/min/1.73m^2||3|30 <= GFR < 45 mL/min/1.73m^2||4|GFR < 30 mL/min/1.73m^2||"
    > s$guide[s$column == 'renal'] <- codes
    >
    > write.spec(s,spec)
    >
    > file.exists(csv)
    [1] TRUE
    > file.exists(spec)
    [1] TRUE
    > define(c(theoph = csv),stem = 'minimal',dir = outdir, clean=FALSE)
    exporting /tmp/Rtmp1kaiov/working_dir/RtmpqwaO9g/theoph.csv to /tmp/Rtmp1kaiov/working_dir/RtmpqwaO9g/out/./theoph.xpt
    This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020) (preloaded format=pdflatex)
     restricted \write18 enabled.
    entering extended mode
    (/tmp/Rtmp1kaiov/working_dir/RtmpqwaO9g/out/minimal.tex
    LaTeX2e <2020-02-02> patch level 5
    L3 programming layer <2020-05-15>
    (/usr/local/texlive/2020/texmf-dist/tex/latex/base/article.cls
    Document Class: article 2019/12/20 v1.4l Standard LaTeX document class
    (/usr/local/texlive/2020/texmf-dist/tex/latex/base/size10.clo))
    (/usr/local/texlive/2020/texmf-dist/tex/latex/xcolor/xcolor.sty
    (/usr/local/texlive/2020/texmf-dist/tex/latex/graphics-cfg/color.cfg)
    (/usr/local/texlive/2020/texmf-dist/tex/latex/graphics-def/pdftex.def)
    (/usr/local/texlive/2020/texmf-dist/tex/latex/colortbl/colortbl.sty
    (/usr/local/texlive/2020/texmf-dist/tex/latex/tools/array.sty))
    (/usr/local/texlive/2020/texmf-dist/tex/latex/xcolor/svgnam.def))
    (/usr/local/texlive/2020/texmf-dist/tex/latex/geometry/geometry.sty
    (/usr/local/texlive/2020/texmf-dist/tex/latex/graphics/keyval.sty)
    (/usr/local/texlive/2020/texmf-dist/tex/generic/iftex/ifvtex.sty
    (/usr/local/texlive/2020/texmf-dist/tex/generic/iftex/iftex.sty)))
    (/usr/local/texlive/2020/texmf-dist/tex/latex/multirow/multirow.sty)
    (/usr/local/texlive/2020/texmf-dist/tex/latex/float/float.sty)
    (/usr/local/texlive/2020/texmf-dist/tex/latex/tools/longtable.sty)
    (/usr/local/texlive/2020/texmf-dist/tex/latex/base/inputenc.sty)
    (/usr/local/texlive/2020/texmf-dist/tex/latex/base/fontenc.sty)
    (/usr/local/texlive/2020/texmf-dist/tex/latex/hyperref/hyperref.sty
    (/usr/local/texlive/2020/texmf-dist/tex/generic/ltxcmds/ltxcmds.sty)
    (/usr/local/texlive/2020/texmf-dist/tex/latex/pdftexcmds/pdftexcmds.sty
    (/usr/local/texlive/2020/texmf-dist/tex/generic/infwarerr/infwarerr.sty))
    (/usr/local/texlive/2020/texmf-dist/tex/generic/kvsetkeys/kvsetkeys.sty)
    (/usr/local/texlive/2020/texmf-dist/tex/generic/kvdefinekeys/kvdefinekeys.sty)
    (/usr/local/texlive/2020/texmf-dist/tex/generic/pdfescape/pdfescape.sty)
    (/usr/local/texlive/2020/texmf-dist/tex/latex/hycolor/hycolor.sty)
    (/usr/local/texlive/2020/texmf-dist/tex/latex/letltxmacro/letltxmacro.sty)
    (/usr/local/texlive/2020/texmf-dist/tex/latex/auxhook/auxhook.sty)
    (/usr/local/texlive/2020/texmf-dist/tex/latex/kvoptions/kvoptions.sty)
    (/usr/local/texlive/2020/texmf-dist/tex/latex/hyperref/pd1enc.def)
    (/usr/local/texlive/2020/texmf-dist/tex/generic/intcalc/intcalc.sty)
    (/usr/local/texlive/2020/texmf-dist/tex/generic/etexcmds/etexcmds.sty)
    (/usr/local/texlive/2020/texmf-dist/tex/latex/url/url.sty)
    (/usr/local/texlive/2020/texmf-dist/tex/generic/bitset/bitset.sty
    (/usr/local/texlive/2020/texmf-dist/tex/generic/bigintcalc/bigintcalc.sty))
    (/usr/local/texlive/2020/texmf-dist/tex/generic/atbegshi/atbegshi.sty))
    (/usr/local/texlive/2020/texmf-dist/tex/latex/hyperref/hpdftex.def
    (/usr/local/texlive/2020/texmf-dist/tex/latex/atveryend/atveryend.sty)
    (/usr/local/texlive/2020/texmf-dist/tex/latex/rerunfilecheck/rerunfilecheck.sty
    
    (/usr/local/texlive/2020/texmf-dist/tex/generic/uniquecounter/uniquecounter.sty
    ))) (/usr/local/texlive/2020/texmf-dist/tex/latex/graphics/graphicx.sty
    (/usr/local/texlive/2020/texmf-dist/tex/latex/graphics/graphics.sty
    (/usr/local/texlive/2020/texmf-dist/tex/latex/graphics/trig.sty)
    (/usr/local/texlive/2020/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)))
    (/usr/local/texlive/2020/texmf-dist/tex/latex/tocbibind/tocbibind.sty
    
    Package tocbibind Note: Using section or other style headings.
    
    ) (/usr/local/texlive/2020/texmf-dist/tex/latex/base/fixltx2e.sty
    
    Package fixltx2e Warning: fixltx2e is not required with releases after 2015
    (fixltx2e) All fixes are now in the LaTeX kernel.
    (fixltx2e) See the latexrelease package for details.
    
    ) (/usr/local/texlive/2020/texmf-dist/tex/latex/tabu/tabu.sty
    (/usr/local/texlive/2020/texmf-dist/tex/latex/varwidth/varwidth.sty))
    (/usr/local/texlive/2020/texmf-dist/tex/latex/base/fontenc.sty)
    (/usr/local/texlive/2020/texmf-dist/tex/latex/datetime/datetime.sty
    (/usr/local/texlive/2020/texmf-dist/tex/latex/etoolbox/etoolbox.sty)
    (/usr/local/texlive/2020/texmf-dist/tex/latex/fmtcount/fmtcount.sty
    (/usr/local/texlive/2020/texmf-dist/tex/latex/base/ifthen.sty)
    (/usr/local/texlive/2020/texmf-dist/tex/latex/xkeyval/xkeyval.sty
    (/usr/local/texlive/2020/texmf-dist/tex/generic/xkeyval/xkeyval.tex
    (/usr/local/texlive/2020/texmf-dist/tex/generic/xkeyval/xkvutils.tex)))
    (/usr/local/texlive/2020/texmf-dist/tex/latex/fmtcount/fcprefix.sty
    (/usr/local/texlive/2020/texmf-dist/tex/latex/fmtcount/fcnumparser.sty))
    (/usr/local/texlive/2020/texmf-dist/tex/latex/amsmath/amsgen.sty))
    (/usr/local/texlive/2020/texmf-dist/tex/latex/datetime/datetime-defaults.sty))
    (/usr/local/texlive/2020/texmf-dist/tex/latex/fancyhdr/fancyhdr.sty)
    (/usr/local/texlive/2020/texmf-dist/tex/latex/lastpage/lastpage.sty)
    (/usr/local/texlive/2020/texmf-dist/tex/latex/l3backend/l3backend-pdfmode.def)
    No file minimal.aux.
    (/usr/local/texlive/2020/texmf-dist/tex/context/base/mkii/supp-pdf.mkii
    [Loading MPS to PDF converter (version 2006.09.02).]
    ) (/usr/local/texlive/2020/texmf-dist/tex/latex/epstopdf-pkg/epstopdf-base.sty
    (/usr/local/texlive/2020/texmf-dist/tex/latex/latexconfig/epstopdf-sys.cfg))
    *geometry* driver: auto-detecting
    *geometry* detected driver: pdftex
    (/usr/local/texlive/2020/texmf-dist/tex/latex/hyperref/nameref.sty
    (/usr/local/texlive/2020/texmf-dist/tex/latex/refcount/refcount.sty)
    (/usr/local/texlive/2020/texmf-dist/tex/generic/gettitlestring/gettitlestring.s
    ty)) (/usr/local/texlive/2020/texmf-dist/tex/latex/fmtcount/fc-english.def)
    ! Missing $ inserted.
    <inserted text>
     $
    l.31 ...bf{/tmp/Rtmp1kaiov/working_dir/RtmpqwaO9g}
     }
    ?
    ! Emergency stop.
    <inserted text>
     $
    l.31 ...bf{/tmp/Rtmp1kaiov/working_dir/RtmpqwaO9g}
     }
    ! ==> Fatal error occurred, no output PDF file produced!
    Transcript written on /tmp/Rtmp1kaiov/working_dir/RtmpqwaO9g/out/minimal.log.
    Error in as.pdf.document(z, stem = stem, dir = dir, ...) :
     could not make /tmp/Rtmp1kaiov/working_dir/RtmpqwaO9g/out/minimal.pdf
    Calls: define -> define.character -> as.pdf -> as.pdf.document
    Execution halted
Flavor: r-patched-solaris-x86