* using log directory ‘/srv/hornik/tmp/CRAN_pretest/automatedtests.Rcheck’ * using R Under development (unstable) (2025-04-29 r88182) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.7 (3) Debian flang-new version 19.1.7 (3) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘automatedtests/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘automatedtests’ version ‘0.1.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/3s] NOTE Maintainer: ‘Wouter Zeevat ’ New submission Unknown, possibly misspelled, fields in DESCRIPTION: ‘Remotes’ No Authors@R field in DESCRIPTION. Please add one, modifying Authors@R: person(given = "Wouter", family = "Zeevat", role = c("aut", "cre"), email = "wouterzeevat@gmail.com") as necessary. The Title field should be in title case. Current version is: ‘Automating choosing statistical tests’ In title case that is: ‘Automating Choosing Statistical Tests’ The Description field should start with a capital letter. * 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 executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘automatedtests’ can be installed ... [1s/1s] OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... NOTE Malformed Description field: should contain one or more complete sentences. * checking top-level files ... NOTE Non-standard files/directories found at top level: ‘diabetes.csv’ ‘readme.md’ * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [0s/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] OK * checking loading without being on the library search path ... [0s/0s] 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 ... [2s/2s] NOTE check_parametric: no visible global function definition for ‘shapiro.test’ check_parametric: no visible global function definition for ‘ad.test’ get_test_from_string: no visible global function definition for ‘prop.test’ get_test_from_string: no visible global function definition for ‘chisq.test’ get_test_from_string: no visible global function definition for ‘t.test’ get_test_from_string: no visible global function definition for ‘wilcox.test’ get_test_from_string: no visible global function definition for ‘as.formula’ get_test_from_string: no visible global function definition for ‘lm’ get_test_from_string: no visible global function definition for ‘coef’ get_test_from_string: no visible global function definition for ‘glm’ get_test_from_string: no visible global function definition for ‘binomial’ get_test_from_string: no visible global function definition for ‘pnorm’ get_test_from_string: no visible global function definition for ‘cor.test’ get_test_from_string: no visible global function definition for ‘cochran.qtest’ get_test_from_string: no visible global function definition for ‘mcnemar.test’ get_test_from_string: no visible global function definition for ‘fisher.test’ get_test_from_string: no visible global function definition for ‘aov’ get_test_from_string: no visible global function definition for ‘oneway.test’ get_test_from_string: no visible global function definition for ‘kruskal.test’ get_test_from_string: no visible global function definition for ‘friedman.test’ pick_two_variable_test: no visible global function definition for ‘chisq.test’ pick_two_variable_test: no visible global function definition for ‘bartlett.test’ Undefined global functions or variables: ad.test aov as.formula bartlett.test binomial chisq.test cochran.qtest coef cor.test fisher.test friedman.test glm kruskal.test lm mcnemar.test oneway.test pnorm prop.test shapiro.test t.test wilcox.test Consider adding importFrom("stats", "aov", "as.formula", "bartlett.test", "binomial", "chisq.test", "coef", "cor.test", "fisher.test", "friedman.test", "glm", "kruskal.test", "lm", "mcnemar.test", "oneway.test", "pnorm", "prop.test", "shapiro.test", "t.test", "wilcox.test") to your NAMESPACE file. * checking Rd files ... [0s/0s] OK * checking Rd metadata ... OK * checking Rd line widths ... 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 LazyData ... INFO 'LazyData' is specified without a 'data' directory * checking examples ... [0s/0s] ERROR Running examples in ‘automatedtests-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: automatical_test > ### Title: Automatically Run a Statistical Test > ### Aliases: automatical_test > ### Keywords: automated statistical test > > ### ** Examples > > # Example 1: Using a data frame > test1 <- automatical_test(iris) Error in is.numeric(self$getData()[[feature]]) && !(unique(self$getData()[[1]]) %in% : 'length = 35' in coercion to 'logical(1)' Calls: automatical_test ... pick_test -> pick_multiple_variable_test -> Execution halted * checking PDF version of manual ... [2s/2s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 4 NOTEs