* using log directory 'd:/Rcompile/CRANpkg/local/3.5/Runuran.Rcheck' * using R version 3.5.3 (2019-03-11) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'Runuran/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'Runuran' version '0.30' * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'Runuran' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * loading checks for arch 'i386' ** checking whether the package can be loaded ... OK ** checking whether the package can be loaded with stated dependencies ... OK ** checking whether the package can be unloaded cleanly ... OK ** checking whether the namespace can be loaded with stated dependencies ... OK ** checking whether the namespace can be unloaded cleanly ... OK ** checking loading without being on the library search path ... OK ** checking use of S3 registration ... OK * loading checks for arch 'x64' ** checking whether the package can be loaded ... OK ** checking whether the package can be loaded with stated dependencies ... OK ** checking whether the package can be unloaded cleanly ... OK ** checking whether the namespace can be loaded with stated dependencies ... OK ** checking whether the namespace can be unloaded cleanly ... OK ** checking loading without being on the library search path ... OK ** checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [5s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking line endings in shell scripts ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking pragmas in C/C++ headers and code ... OK * checking compiled code ... OK * checking sizes of PDF files under 'inst/doc' ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... ** running examples for arch 'i386' ... [2s] OK ** running examples for arch 'x64' ... [2s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... ** running tests for arch 'i386' ... [34s] OK Running 'run_testthat.R' [4s] Running 'test_advanced.R' [2s] Running 'test_deprecated.R' [1s] Running 'test_distributions_cont.R' [6s] Running 'test_distributions_discr.R' [1s] Running 'test_routines.R' [0s] Running 'test_ud.R' [3s] Running 'test_universal.R' [7s] Running 'test_unuran.R' [9s] ** running tests for arch 'x64' ... [35s] ERROR Running 'run_testthat.R' [4s] Running 'test_advanced.R' [2s] Running 'test_deprecated.R' [1s] Running 'test_distributions_cont.R' [6s] Running 'test_distributions_discr.R' [1s] Running 'test_routines.R' [1s] Running 'test_ud.R' [2s] Running 'test_universal.R' [8s] Running 'test_unuran.R' [8s] Running the tests in 'tests/run_testthat.R' failed. Complete output: > ## Load package 'testthat' > if(! require("testthat", quietly=TRUE)) { + message("\nCannot run unit tests -- package 'testthat' is not available!\n") + } > > ## run testthat tests > test_check("Runuran", reporter=c("summary","check","fail")) Loading required package: Runuran [aux-gen] - use auxiliary generator: ......... [aux-gen] - Invalid arguments: ... [details] - print 'Runuran' objects: SSSSSSSSSSSSSSSSSSS [details] - Invalid arguments: . [distr-cont] - unuran.cont.new: ........................... [distr-discr] - unuran.discr.new: .......1-- 1. Failure: [distr-discr-up-geom] unuran.discr.new() + up() (@test_distr.R#22 up(distr, x) not equal to pgeom(x, prob). 1/1001 mismatches [1001] 0.4 - 1 == -0.6 ...................... [distr-cmv] - unuran.cmv.new: ....................... [options] - set package options: ...... [options] - Invalid arguments: .... [packed] - pack and unpack 'Runuran' objects: ...... == Skipped ===================================================================== 1. [details-DARI] (@test_details.R#39) - Reason: On CRAN 2. [details-DAU] (@test_details.R#39) - Reason: On CRAN 3. [details-DGT] (@test_details.R#39) - Reason: On CRAN 4. [details-DSROU] (@test_details.R#39) - Reason: On CRAN 5. [details-DSS] (@test_details.R#39) - Reason: On CRAN 6. [details-DSTD] (@test_details.R#39) - Reason: On CRAN 7. [details-AROU] (@test_details.R#39) - Reason: On CRAN 8. [details-ARS] (@test_details.R#39) - Reason: On CRAN 9. [details-CSTD] (@test_details.R#39) - Reason: On CRAN 10. [details-HINV] (@test_details.R#39) - Reason: On CRAN 11. [details-ITDR] (@test_details.R#39) - Reason: On CRAN 12. [details-NINV] (@test_details.R#39) - Reason: On CRAN 13. [details-NROU] (@test_details.R#39) - Reason: On CRAN 14. [details-PINV] (@test_details.R#39) - Reason: On CRAN 15. [details-SROU] (@test_details.R#39) - Reason: On CRAN 16. [details-SSR] (@test_details.R#39) - Reason: On CRAN 17. [details-TABL] (@test_details.R#39) - Reason: On CRAN 18. [details-TDR] (@test_details.R#39) - Reason: On CRAN 19. [details-UTDR] (@test_details.R#39) - Reason: On CRAN == Failed ====================================================================== -- 1. Failure: [distr-discr-up-geom] unuran.discr.new() + up() (@test_distr.R#22 up(distr, x) not equal to pgeom(x, prob). 1/1001 mismatches [1001] 0.4 - 1 == -0.6 == DONE ======================================================================== == testthat results =========================================================== [ OK: 108 | SKIPPED: 19 | WARNINGS: 0 | FAILED: 1 ] 1. Failure: [distr-discr-up-geom] unuran.discr.new() + up() (@test_distr.R#224) Error: testthat unit tests failed Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [14s] OK * checking PDF version of manual ... OK * DONE Status: 1 ERROR