* using log directory ‘/srv/hornik/tmp/CRAN/SVMFeature.Rcheck’ * using R Under development (unstable) (2024-05-16 r86559) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 18.1.4 (1) Debian flang-new version 18.1.4 (1) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘SVMFeature/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘SVMFeature’ version ‘0.1.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/4s] NOTE Maintainer: ‘Ángel de Lara ’ New submission Possibly misspelled words in DESCRIPTION: Featurization (4:9) SVMFeature (8:19, 13:82) featurization (9:49) * checking package namespace information ... NOTE Found export directive that requires package ‘methods’: ‘exportClasses’ Remove all such namespace directives (if obsolete) or ensure that the DESCRIPTION Depends or Imports field contains ‘methods’. * 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 serialization versions ... OK * checking whether package ‘SVMFeature’ can be installed ... [55s/55s] WARNING Found the following significant warnings: Warning: The `size` argument of `element_line()` is deprecated as of ggplot2 3.4.0. See ‘/srv/hornik/tmp/CRAN/SVMFeature.Rcheck/00install.out’ for details. * checking package directory ... OK * checking for future file timestamps ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... NOTE License components which are templates and need '+ file LICENSE': MIT Author field differs from that derived from Authors@R Author: ‘Ángel de Lara [aut, cre] ()’ Authors@R: ‘Ángel de Lara [cre, aut] ()’ * checking top-level files ... NOTE File LICENSE is not mentioned in the DESCRIPTION file. Non-standard files/directories found at top level: ‘Rplots.pdf’ ‘cran-comments.md’ * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... WARNING Found the following files with non-ASCII characters: R/SVMFeature.R R/poblacion.R R/solucion.R Portable packages must use only ASCII characters in their R code and NAMESPACE directives, except perhaps in comments. Use \uxxxx escapes for other characters. Function ‘tools::showNonASCIIfile’ can help in finding non-ASCII characters in files. * 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 ... NOTE package 'methods' is used but not declared * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [4s/4s] NOTE SVMFeature: no visible global function definition for ‘new’ cruzar_soluciones: no visible global function definition for ‘runif’ generar_solucion_aleatoria: no visible global function definition for ‘runif’ mutar_solucion: no visible global function definition for ‘runif’ nueva_poblacion: no visible global function definition for ‘runif’ Undefined global functions or variables: new runif Consider adding importFrom("methods", "new") importFrom("stats", "runif") to your NAMESPACE file (and ensure that your DESCRIPTION Imports field contains 'methods'). * checking Rd files ... [0s/0s] OK * checking Rd metadata ... OK * checking Rd line widths ... NOTE Rd file 'SVMFeature-class.Rd': \examples lines wider than 100 characters: svm_feature <- SVMFeature$new(archivo, inputs, output, costes, tam_pob, num_fea, n_iter, tiempo_max, modo) These lines will be truncated in the PDF manual. * checking Rd cross-references ... OK * checking for missing documentation entries ... WARNING Undocumented code objects: ‘14Arrythmia_sinceros’ ‘WBCtrain’ ‘carac’ ‘planos’ ‘prueba’ ‘prueba2’ Undocumented data sets: ‘14Arrythmia_sinceros’ ‘WBCtrain’ ‘carac’ ‘planos’ ‘prueba’ ‘prueba2’ All user-level objects in a package should have documentation entries. See chapter ‘Writing R documentation files’ in the ‘Writing R Extensions’ manual. * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... ERROR Warning: parse error in file 'lines': 12: unexpected symbol 27: svm_feature$run() 28: Initialize the ^ ** will not attempt to run examples * checking contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... [0s/0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... SKIPPED * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [1s/1s] ERROR Running ‘testthat.R’ [0s/0s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(SVMFeature) > > test_check("SVMFeature") Error in `test_dir()`: ! No test files found Backtrace: ▆ 1. └─testthat::test_check("SVMFeature") 2. └─testthat::test_dir("testthat", package = package, reporter = reporter, ..., load_package = "installed") 3. └─rlang::abort("No test files found") Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [1s/1s] OK * checking PDF version of manual ... [3s/3s] 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: 2 ERRORs, 3 WARNINGs, 7 NOTEs