* using log directory 'd:/Rcompile/CRANpkg/local/3.4/phenofit.Rcheck' * using R version 3.4.4 (2018-03-15) * using platform: x86_64-w64-mingw32 (64-bit) * using session charset: ISO8859-1 * checking for file 'phenofit/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'phenofit' version '0.2.0' * package encoding: UTF-8 * 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 'phenofit' 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 ... [15s] 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 compiled code ... OK * checking examples ... ** running examples for arch 'i386' ... [40s] OK ** running examples for arch 'x64' ... [51s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... ** running tests for arch 'i386' ... [106s] ERROR Running 'testthat.R' [104s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(phenofit) > > test_check("phenofit") List of 5 $ AG :Classes 'tbl_df', 'tbl' and 'data.frame': 18 obs. of 8 variables: $ Beck :Classes 'tbl_df', 'tbl' and 'data.frame': 18 obs. of 7 variables: $ Elmore:Classes 'tbl_df', 'tbl' and 'data.frame': 18 obs. of 8 variables: $ Gu :Classes 'tbl_df', 'tbl' and 'data.frame': 18 obs. of 10 variables: $ Zhang :Classes 'tbl_df', 'tbl' and 'data.frame': 18 obs. of 8 variables: NULL # A tibble: 18 x 8 flag t0 mn mx rsp a3 rau a5 1 2000_1 145. 0.305 0.638 0.0498 6 0.00589 4.42 2 2001_1 546. 0.283 0.649 0.0152 2 0.00769 2 3 2002_1 882. 0.284 0.624 0.0208 2 0.00673 2.42 4 2003_1 1235. 0.305 0.580 0.0246 2 0.00634 4.03 5 2004_1 1721. 0.206 0.569 0.00419 2.35 0.0166 2.08 6 2005_1 2039. 0.209 0.604 0.00740 2.10 0.00805 2 7 2006_1 2427. 0.269 0.604 0.00556 4.69 0.0150 2 8 2007_1 2680. 0.223 0.577 0.0442 6 0.00466 4.67 9 2008_1 3149. 0.256 0.568 0.00817 4.63 0.0113 2 10 2009_1 3524. 0.306 0.625 0.00714 5.50 0.0153 3.72 11 2010_1 3870. 0.246 0.633 0.00733 2 0.00814 2 12 2011_1 4168. 0.248 0.622 0.0195 2.95 0.00605 2.52 13 2012_1 4633. 0.298 0.635 0.00660 6 0.0139 2 14 2013_1 4879. 0.366 0.593 0.0472 6 0.00552 5.51 15 2014_1 5350. 0.376 0.596 0.00726 2 0.0164 2 16 2015_1 5727. 0.244 0.604 0.00302 2 0.00979 2 17 2016_1 5964. 0.336 0.569 0.0488 2.10 0.00533 5.16 18 2017_1 6384. 0.158 0.550 0.00492 2 0.00565 3.92 -- 1. Failure: (unknown) (@test-PhenoExtract.R#47) ---------------------------- `{ ... }` produced warnings. -- 2. Failure: (unknown) (@test-PhenoExtract.R#54) ---------------------------- `{ ... }` produced warnings. -- 3. Failure: (unknown) (@test-PhenoExtract.R#61) ---------------------------- `{ ... }` produced warnings. meth RMSE NSE R pvalue n 1 AG 9.940385e-03 0.9985845 0.9993452 4.489947e-65 46 2 Beck 3.601820e-12 1.0000000 1.0000000 0.000000e+00 46 3 Elmore 5.158407e-10 1.0000000 1.0000000 0.000000e+00 46 4 Gu 2.687979e-12 1.0000000 1.0000000 0.000000e+00 46 5 Klos NA NA NA NA 0 6 Zhang 5.529263e-06 1.0000000 1.0000000 8.059650e-208 46 ucminf failed for this problem nlminb function evaluation failure optim function evaluation failure == testthat results =========================================================== OK: 39 SKIPPED: 0 WARNINGS: 0 FAILED: 3 1. Failure: (unknown) (@test-PhenoExtract.R#47) 2. Failure: (unknown) (@test-PhenoExtract.R#54) 3. Failure: (unknown) (@test-PhenoExtract.R#61) Error: testthat unit tests failed Execution halted ** running tests for arch 'x64' ... [122s] ERROR Running 'testthat.R' [121s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(phenofit) > > test_check("phenofit") List of 5 $ AG :Classes 'tbl_df', 'tbl' and 'data.frame': 18 obs. of 8 variables: $ Beck :Classes 'tbl_df', 'tbl' and 'data.frame': 18 obs. of 7 variables: $ Elmore:Classes 'tbl_df', 'tbl' and 'data.frame': 18 obs. of 8 variables: $ Gu :Classes 'tbl_df', 'tbl' and 'data.frame': 18 obs. of 10 variables: $ Zhang :Classes 'tbl_df', 'tbl' and 'data.frame': 18 obs. of 8 variables: NULL # A tibble: 18 x 8 flag t0 mn mx rsp a3 rau a5 1 2000_1 145. 0.305 0.638 0.0498 6 0.00589 4.42 2 2001_1 546. 0.283 0.649 0.0152 2 0.00769 2 3 2002_1 882. 0.284 0.624 0.0208 2 0.00673 2.42 4 2003_1 1235. 0.305 0.580 0.0246 2 0.00634 4.03 5 2004_1 1721. 0.206 0.569 0.00419 2.35 0.0166 2.08 6 2005_1 2039. 0.209 0.604 0.00740 2.10 0.00805 2 7 2006_1 2427. 0.269 0.604 0.00556 4.69 0.0150 2 8 2007_1 2680. 0.223 0.577 0.0442 6 0.00466 4.67 9 2008_1 3149. 0.256 0.568 0.00817 4.63 0.0113 2 10 2009_1 3524. 0.306 0.625 0.00714 5.50 0.0153 3.72 11 2010_1 3870. 0.246 0.633 0.00733 2 0.00814 2 12 2011_1 4168. 0.248 0.622 0.0195 2.95 0.00605 2.52 13 2012_1 4633. 0.298 0.635 0.00660 6 0.0139 2 14 2013_1 4879. 0.366 0.593 0.0472 6 0.00552 5.51 15 2014_1 5350. 0.376 0.596 0.00726 2 0.0164 2 16 2015_1 5727. 0.244 0.604 0.00302 2 0.00979 2 17 2016_1 5964. 0.336 0.569 0.0488 2.10 0.00533 5.16 18 2017_1 6331. 0.185 0.542 0.00727 2 0.00445 6.00 -- 1. Failure: (unknown) (@test-PhenoExtract.R#47) ---------------------------- `{ ... }` produced warnings. -- 2. Failure: (unknown) (@test-PhenoExtract.R#54) ---------------------------- `{ ... }` produced warnings. -- 3. Failure: (unknown) (@test-PhenoExtract.R#61) ---------------------------- `{ ... }` produced warnings. meth RMSE NSE R pvalue n 1 AG 9.940385e-03 0.9985845 0.9993452 4.489947e-65 46 2 Beck 7.389751e-13 1.0000000 1.0000000 0.000000e+00 46 3 Elmore 2.225405e-11 1.0000000 1.0000000 0.000000e+00 46 4 Gu 6.894880e-12 1.0000000 1.0000000 0.000000e+00 46 5 Klos NA NA NA NA 0 6 Zhang 5.528884e-06 1.0000000 1.0000000 8.037640e-208 46 ucminf failed for this problem nlminb function evaluation failure optim function evaluation failure == testthat results =========================================================== OK: 39 SKIPPED: 0 WARNINGS: 0 FAILED: 3 1. Failure: (unknown) (@test-PhenoExtract.R#47) 2. Failure: (unknown) (@test-PhenoExtract.R#54) 3. Failure: (unknown) (@test-PhenoExtract.R#61) Error: testthat unit tests failed Execution halted * checking PDF version of manual ... OK * DONE Status: 2 ERRORs