* using log directory 'd:/Rcompile/CRANpkg/local/3.6/sasfunclust.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 'sasfunclust/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'sasfunclust' version '1.0.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 'sasfunclust' 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 ... NOTE Missing or unexported object: 'base::plot' * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [11s] 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 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' ... ERROR Running examples in 'sasfunclust-Ex.R' failed The error most likely occurred in: > ### Name: sasfclust > ### Title: Sparse and Smooth Functional Data Clustering > ### Aliases: sasfclust > > ### ** Examples > > library(sasfunclust) > train<-simulate_data("Scenario I",n_i=20,var_e = 1,var_b = 0.5^2) > mod<-sasfclust(X=train$X,grid=train$grid,lambda_s = 10^-6,lambda_l =10,G = 2,maxit = 5,q=10) > plot(mod) Error in get(name, envir = ns, inherits = FALSE) : object 'plot' not found Calls: plot -> plot.sasfclust -> :: -> getExportedValue -> get Execution halted ** running examples for arch 'x64' ... ERROR Running examples in 'sasfunclust-Ex.R' failed The error most likely occurred in: > ### Name: sasfclust > ### Title: Sparse and Smooth Functional Data Clustering > ### Aliases: sasfclust > > ### ** Examples > > library(sasfunclust) > train<-simulate_data("Scenario I",n_i=20,var_e = 1,var_b = 0.5^2) > mod<-sasfclust(X=train$X,grid=train$grid,lambda_s = 10^-6,lambda_l =10,G = 2,maxit = 5,q=10) > plot(mod) Error in get(name, envir = ns, inherits = FALSE) : object 'plot' not found Calls: plot -> plot.sasfclust -> :: -> getExportedValue -> get Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... ** running tests for arch 'i386' ... [102s] ERROR Running 'testthat.R' [102s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(sasfunclust) > > test_check("sasfunclust") == Failed tests ================================================================ -- Error (test-plot_functions.R:11:3): plot.sasfclust -------------------------- Error: object 'plot' not found Backtrace: x 1. +-testthat::expect_is(plot(mod), "NULL") test-plot_functions.R:11:2 2. | \-testthat::quasi_label(enquo(object), label, arg = "object") 3. | \-rlang::eval_bare(expr, quo_get_env(quo)) 4. +-graphics::plot(mod) 5. \-sasfunclust:::plot.sasfclust(mod) 6. \-base::plot 7. \-base::getExportedValue(pkg, name) 8. \-base::get(name, envir = ns, inherits = FALSE) -- Error (test-plot_functions.R:15:3): plot.sasfclust_cv ----------------------- Error: object 'plot' not found Backtrace: x 1. +-testthat::expect_is(plot(mod_cv), "NULL") test-plot_functions.R:15:2 2. | \-testthat::quasi_label(enquo(object), label, arg = "object") 3. | \-rlang::eval_bare(expr, quo_get_env(quo)) 4. +-graphics::plot(mod_cv) 5. \-sasfunclust:::plot.sasfclust_cv(mod_cv) 6. \-base::plot 7. \-base::getExportedValue(pkg, name) 8. \-base::get(name, envir = ns, inherits = FALSE) -- Error (test-sasfunclust_functions.R:7:1): (code run outside of `test_that()`) -- Error: object 'plot' not found Backtrace: x 1. +-graphics::plot(mod_cv) test-sasfunclust_functions.R:7:0 2. \-sasfunclust:::plot.sasfclust_cv(mod_cv) 3. \-base::plot 4. \-base::getExportedValue(pkg, name) 5. \-base::get(name, envir = ns, inherits = FALSE) [ FAIL 3 | WARN 0 | SKIP 0 | PASS 6 ] Error: Test failures Execution halted ** running tests for arch 'x64' ... [121s] ERROR Running 'testthat.R' [121s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(sasfunclust) > > test_check("sasfunclust") == Failed tests ================================================================ -- Error (test-plot_functions.R:11:3): plot.sasfclust -------------------------- Error: object 'plot' not found Backtrace: x 1. +-testthat::expect_is(plot(mod), "NULL") test-plot_functions.R:11:2 2. | \-testthat::quasi_label(enquo(object), label, arg = "object") 3. | \-rlang::eval_bare(expr, quo_get_env(quo)) 4. +-graphics::plot(mod) 5. \-sasfunclust:::plot.sasfclust(mod) 6. \-base::plot 7. \-base::getExportedValue(pkg, name) 8. \-base::get(name, envir = ns, inherits = FALSE) -- Error (test-plot_functions.R:15:3): plot.sasfclust_cv ----------------------- Error: object 'plot' not found Backtrace: x 1. +-testthat::expect_is(plot(mod_cv), "NULL") test-plot_functions.R:15:2 2. | \-testthat::quasi_label(enquo(object), label, arg = "object") 3. | \-rlang::eval_bare(expr, quo_get_env(quo)) 4. +-graphics::plot(mod_cv) 5. \-sasfunclust:::plot.sasfclust_cv(mod_cv) 6. \-base::plot 7. \-base::getExportedValue(pkg, name) 8. \-base::get(name, envir = ns, inherits = FALSE) -- Error (test-sasfunclust_functions.R:7:1): (code run outside of `test_that()`) -- Error: object 'plot' not found Backtrace: x 1. +-graphics::plot(mod_cv) test-sasfunclust_functions.R:7:0 2. \-sasfunclust:::plot.sasfclust_cv(mod_cv) 3. \-base::plot 4. \-base::getExportedValue(pkg, name) 5. \-base::get(name, envir = ns, inherits = FALSE) [ FAIL 3 | WARN 0 | SKIP 0 | PASS 6 ] Error: Test failures Execution halted * checking PDF version of manual ... OK * DONE Status: 4 ERRORs, 1 NOTE