CRAN Package Check Results for Maintainer ‘Falk Hesse <falk.hesse at ufz.de>’

Last updated on 2020-08-07 01:50:19 CEST.

Package ERROR OK
exPrior 1 11

Package exPrior

Current CRAN status: ERROR: 1, OK: 11

Version: 1.0.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [59s/59s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(exPrior)
     Loading required package: nimble
     nimble version 0.9.1 is loaded.
     For more information on NIMBLE and a User Manual,
     please visit http://R-nimble.org.
    
     Attaching package: 'nimble'
    
     The following object is masked from 'package:stats':
    
     simulate
    
     >
     > test_check("exPrior")
     ── 1. Error: calculations from genExPrior (@test_genExPrior.R#6) ──────────────
     Failed to create the shared library. Run 'printErrors()' to see the compilation errors.
     Backtrace:
     1. testthat::expect_equal(...)
     4. exPrior::genExPrior(...)
     5. nimble::compileNimble(siteModel)
     6. project$compileModel(units[[i]], control = control, showCompilerOutput = showCompilerOutput)
     7. cppProj$compileFile(compileList, showCompilerOutput)
     8. nimble:::compileDynamicRegistrations(showCompilerOutput = showCompilerOutput)
     9. nimble:::compileStaticCode(dllName, cppName, showCompilerOutput)
    
     ── 2. Error: calculations from genExPrior with multiple data types (@test_multi_
     Failed to create the shared library. Run 'printErrors()' to see the compilation errors.
     Backtrace:
     1. testthat::expect_equal(...)
     4. exPrior::genExPrior(...)
     5. nimble::compileNimble(siteModel)
     6. project$compileModel(units[[i]], control = control, showCompilerOutput = showCompilerOutput)
     7. cppProj$compileFile(compileList, showCompilerOutput)
     8. nimble:::compileDynamicRegistrations(showCompilerOutput = showCompilerOutput)
     9. nimble:::compileStaticCode(dllName, cppName, showCompilerOutput)
    
     ── 3. Error: calculations from genExPrior using spatially-correlated data (@test
     Failed to create the shared library. Run 'printErrors()' to see the compilation errors.
     Backtrace:
     1. testthat::expect_equal(...)
     4. exPrior::genExPrior(...)
     5. nimble::compileNimble(siteModel)
     6. project$compileModel(units[[i]], control = control, showCompilerOutput = showCompilerOutput)
     7. cppProj$compileFile(compileList, showCompilerOutput)
     8. nimble:::compileDynamicRegistrations(showCompilerOutput = showCompilerOutput)
     9. nimble:::compileStaticCode(dllName, cppName, showCompilerOutput)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 0 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 3 ]
     1. Error: calculations from genExPrior (@test_genExPrior.R#6)
     2. Error: calculations from genExPrior with multiple data types (@test_multi_type_data.R#9)
     3. Error: calculations from genExPrior using spatially-correlated data (@test_spatial_correlation.R#12)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86

Version: 1.0.1
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘using_genExPrior.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    Quitting from lines 58-59 (using_genExPrior.Rmd)
    Error: processing vignette 'using_genExPrior.Rmd' failed with diagnostics:
    Failed to create the shared library. Run 'printErrors()' to see the compilation errors.
    
    --- failed re-building ‘using_genExPrior.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘using_genExPrior.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-patched-solaris-x86