* using log directory 'd:/Rcompile/CRANpkg/local/3.6/gam.Rcheck' * using R version 3.6.3 (2020-02-29) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'gam/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'gam' version '1.20' * 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 'gam' can be installed ... OK * checking installed package size ... OK * checking package 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 ... [10s] 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking data for ASCII and uncompressed saves ... 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 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' ... [2s] ERROR Running 'testthat.R' [1s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(gam) Loading required package: splines Loading required package: foreach Loaded gam 1.20 > > test_check("gam") Start: y ~ s(x, 6) + z; AIC= 43.7495 Step:1 y ~ s(x, 6) ; AIC= 42.6681 Testing fit1 Testing fit2 Testing fit3 Testing fit4 Testing fit5 Testing fit6 Testing sum1 Testing an1 Testing an2 Testing step1 == Failed tests ================================================================ -- Failure (test_example.R:34:5): (code run outside of `test_that()`) ---------- objects[[x]] not equal to expected[[x]]. Component "family": Component "initialize": Modes of target, current: expression, call Component "family": Component "initialize": target, current do not match when deparsed -- Failure (test_example.R:34:5): (code run outside of `test_that()`) ---------- objects[[x]] not equal to expected[[x]]. Component "family": Component "initialize": Modes of target, current: expression, call Component "family": Component "initialize": target, current do not match when deparsed -- Failure (test_example.R:34:5): (code run outside of `test_that()`) ---------- objects[[x]] not equal to expected[[x]]. Component "anova": Component "From": 'current' is not a factor Component "anova": Component "To": 'current' is not a factor [ FAIL 3 | WARN 1 | SKIP 0 | PASS 7 ] Error: Test failures Execution halted ** running tests for arch 'x64' ... [2s] ERROR Running 'testthat.R' [2s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(gam) Loading required package: splines Loading required package: foreach Loaded gam 1.20 > > test_check("gam") Start: y ~ s(x, 6) + z; AIC= 43.7495 Step:1 y ~ s(x, 6) ; AIC= 42.6681 Testing fit1 Testing fit2 Testing fit3 Testing fit4 Testing fit5 Testing fit6 Testing sum1 Testing an1 Testing an2 Testing step1 == Failed tests ================================================================ -- Failure (test_example.R:34:5): (code run outside of `test_that()`) ---------- objects[[x]] not equal to expected[[x]]. Component "family": Component "initialize": Modes of target, current: expression, call Component "family": Component "initialize": target, current do not match when deparsed -- Failure (test_example.R:34:5): (code run outside of `test_that()`) ---------- objects[[x]] not equal to expected[[x]]. Component "family": Component "initialize": Modes of target, current: expression, call Component "family": Component "initialize": target, current do not match when deparsed -- Failure (test_example.R:34:5): (code run outside of `test_that()`) ---------- objects[[x]] not equal to expected[[x]]. Component "anova": Component "From": 'current' is not a factor Component "anova": Component "To": 'current' is not a factor [ FAIL 3 | WARN 1 | SKIP 0 | PASS 7 ] Error: Test failures Execution halted * checking PDF version of manual ... OK * DONE Status: 2 ERRORs