* using log directory ‘/srv/hornik/tmp/CRAN/DTwrappers2.Rcheck’ * using R Under development (unstable) (2024-03-12 r86109) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 17.0.6 (5) Debian flang-new version 17.0.6 (5) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘DTwrappers2/DESCRIPTION’ ... OK * this is package ‘DTwrappers2’ version ‘0.0.2’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/3s] NOTE Maintainer: ‘Srivastav Budugutta ’ New submission Possibly misspelled words in DESCRIPTION: summarizations (10:260) * 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 serialization versions ... OK * checking whether package ‘DTwrappers2’ can be installed ... [1s/1s] OK * checking package directory ... OK * checking for future file timestamps ... OK * checking ‘build’ 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 * 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] OK * checking Rd files ... [0s/0s] NOTE checkRd: (-1) dt.summarize.Rd:26: Lost braces 26 | \item{the.functions}{a character vector or list specifying the name of the function to apply to the variables. This may either be specified by the name of the function as a character (e.g. "mean") or by defining a function; e.g. function(x){return(mean(x = x))} that can be computed on each column of data as specified in the.variables.} | ^ * 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 installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... NONE * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [1s/1s] ERROR Running ‘testthat.R’ [1s/1s] 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(DTwrappers2) > > test_check("DTwrappers2") [ FAIL 16 | WARN 0 | SKIP 0 | PASS 0 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-dt.character.coercion.culprits.R:22:7'): Basic functionality: returns a data.table with expected columns ── Error in `dt.calculate(dt.name = dt.name, the.variables = the.variables, the.functions = "character.coercion.culprits", the.filter = the.filter, grouping.variables = grouping.variables, grouping.type = grouping.type, add.function.name = add.function.name, other.params = other.params, ...)`: Error: the.functions must be specified with functions that are loaded. Make sure to call library() for the required packages. Backtrace: ▆ 1. └─DTwrappers2::dt.character.coercion.culprits(...) at test-dt.character.coercion.culprits.R:22:7 2. └─DTwrappers::dt.calculate(...) ── Error ('test-dt.character.coercion.culprits.R:30:7'): Threshold handling: adjusts output based on the threshold ── Error in `dt.calculate(dt.name = dt.name, the.variables = the.variables, the.functions = "character.coercion.culprits", the.filter = the.filter, grouping.variables = grouping.variables, grouping.type = grouping.type, add.function.name = add.function.name, other.params = other.params, ...)`: Error: the.functions must be specified with functions that are loaded. Make sure to call library() for the required packages. Backtrace: ▆ 1. └─DTwrappers2::dt.character.coercion.culprits(...) at test-dt.character.coercion.culprits.R:30:7 2. └─DTwrappers::dt.calculate(...) ── Error ('test-dt.character.coercion.culprits.R:38:7'): Variable selection: only processes specified variables ── Error in `dt.calculate(dt.name = dt.name, the.variables = the.variables, the.functions = "character.coercion.culprits", the.filter = the.filter, grouping.variables = grouping.variables, grouping.type = grouping.type, add.function.name = add.function.name, other.params = other.params, ...)`: Error: the.functions must be specified with functions that are loaded. Make sure to call library() for the required packages. Backtrace: ▆ 1. └─DTwrappers2::dt.character.coercion.culprits(...) at test-dt.character.coercion.culprits.R:38:7 2. └─DTwrappers::dt.calculate(...) ── Error ('test-dt.character.coercion.culprits.R:46:7'): Grouping functionality: correctly groups the results ── Error in `dt.calculate(dt.name = dt.name, the.variables = the.variables, the.functions = "character.coercion.culprits", the.filter = the.filter, grouping.variables = grouping.variables, grouping.type = grouping.type, add.function.name = add.function.name, other.params = other.params, ...)`: Error: the.functions must be specified with functions that are loaded. Make sure to call library() for the required packages. Backtrace: ▆ 1. └─DTwrappers2::dt.character.coercion.culprits(...) at test-dt.character.coercion.culprits.R:46:7 2. └─DTwrappers::dt.calculate(...) ── Error ('test-dt.character.coercion.culprits.R:55:7'): Return type handling: handles different return types correctly ── Error in `dt.calculate(dt.name = dt.name, the.variables = the.variables, the.functions = "character.coercion.culprits", the.filter = the.filter, grouping.variables = grouping.variables, grouping.type = grouping.type, add.function.name = add.function.name, other.params = other.params, ...)`: Error: the.functions must be specified with functions that are loaded. Make sure to call library() for the required packages. Backtrace: ▆ 1. └─DTwrappers2::dt.character.coercion.culprits(...) at test-dt.character.coercion.culprits.R:55:7 2. └─DTwrappers::dt.calculate(...) ── Error ('test-dt.max.numerics.R:12:5'): dt.max.numerics functionality: computes maximum values correctly for each group ── Error in `dt.calculate(dt.name = dt.name, the.variables = the.variables, the.functions = "max.numerics", the.filter = the.filter, grouping.variables = grouping.variables, sortby.group = sortby.group, other.params = other.params, table.format = table.format, add.function.name = add.function.name, return.as = return.as, envir = envir, ...)`: Error: the.functions must be specified with functions that are loaded. Make sure to call library() for the required packages. Backtrace: ▆ 1. └─DTwrappers2::dt.max.numerics(...) at test-dt.max.numerics.R:12:5 2. └─DTwrappers::dt.calculate(...) ── Error ('test-dt.max.numerics.R:26:5'): dt.max.numerics functionality: handles non-numeric columns according to non.numeric.value parameter ── Error in `dt.calculate(dt.name = dt.name, the.variables = the.variables, the.functions = "max.numerics", the.filter = the.filter, grouping.variables = grouping.variables, sortby.group = sortby.group, other.params = other.params, table.format = table.format, add.function.name = add.function.name, return.as = return.as, envir = envir, ...)`: Error: the.functions must be specified with functions that are loaded. Make sure to call library() for the required packages. Backtrace: ▆ 1. └─DTwrappers2::dt.max.numerics(...) at test-dt.max.numerics.R:26:5 2. └─DTwrappers::dt.calculate(...) ── Error ('test-dt.mean.measured.R:14:5'): dt.mean.measured functionality: calculates the proportion of measured values correctly ── Error in `dt.calculate(dt.name = dt.name, the.variables = the.variables, the.functions = "mean.measured", the.filter = the.filter, grouping.variables = grouping.variables, sortby.group = sortby.group, table.format = table.format, add.function.name = add.function.name, return.as = return.as, envir = envir, ...)`: Error: the.functions must be specified with functions that are loaded. Make sure to call library() for the required packages. Backtrace: ▆ 1. └─DTwrappers2::dt.mean.measured(...) at test-dt.mean.measured.R:14:5 2. └─DTwrappers::dt.calculate(...) ── Error ('test-dt.mean.measured.R:27:5'): dt.mean.measured functionality: applies filters correctly ── Error in `dt.calculate(dt.name = dt.name, the.variables = the.variables, the.functions = "mean.measured", the.filter = the.filter, grouping.variables = grouping.variables, sortby.group = sortby.group, table.format = table.format, add.function.name = add.function.name, return.as = return.as, envir = envir, ...)`: Error: the.functions must be specified with functions that are loaded. Make sure to call library() for the required packages. Backtrace: ▆ 1. └─DTwrappers2::dt.mean.measured(...) at test-dt.mean.measured.R:27:5 2. └─DTwrappers::dt.calculate(...) ── Error ('test-dt.mean.missing.R:14:5'): dt.mean.missing functionality: calculates the proportion of missing values correctly ── Error in `dt.calculate(dt.name = dt.name, the.variables = the.variables, the.functions = "mean.missing", the.filter = the.filter, grouping.variables = grouping.variables, sortby.group = sortby.group, table.format = table.format, add.function.name = add.function.name, return.as = return.as, envir = envir, ...)`: Error: the.functions must be specified with functions that are loaded. Make sure to call library() for the required packages. Backtrace: ▆ 1. └─DTwrappers2::dt.mean.missing(...) at test-dt.mean.missing.R:14:5 2. └─DTwrappers::dt.calculate(...) ── Error ('test-dt.mean.missing.R:25:5'): dt.mean.missing functionality: applies filters and grouping correctly ── Error in `dt.calculate(dt.name = dt.name, the.variables = the.variables, the.functions = "mean.missing", the.filter = the.filter, grouping.variables = grouping.variables, sortby.group = sortby.group, table.format = table.format, add.function.name = add.function.name, return.as = return.as, envir = envir, ...)`: Error: the.functions must be specified with functions that are loaded. Make sure to call library() for the required packages. Backtrace: ▆ 1. └─DTwrappers2::dt.mean.missing(...) at test-dt.mean.missing.R:25:5 2. └─DTwrappers::dt.calculate(...) ── Error ('test-dt.mean.numerics.R:12:5'): dt.mean.numerics functionality: computes mean values correctly with filter and grouping ── Error in `dt.calculate(dt.name = dt.name, the.variables = the.variables, the.functions = "mean.numerics", the.filter = the.filter, grouping.variables = grouping.variables, sortby.group = sortby.group, other.params = other.params, table.format = table.format, add.function.name = add.function.name, return.as = return.as, envir = envir, ...)`: Error: the.functions must be specified with functions that are loaded. Make sure to call library() for the required packages. Backtrace: ▆ 1. └─DTwrappers2::dt.mean.numerics(...) at test-dt.mean.numerics.R:12:5 2. └─DTwrappers::dt.calculate(...) ── Error ('test-dt.median.numerics.R:12:5'): dt.median.numerics functionality: computes median values correctly with filter and grouping ── Error in `dt.calculate(dt.name = dt.name, the.variables = the.variables, the.functions = "median.numerics", the.filter = the.filter, grouping.variables = grouping.variables, sortby.group = sortby.group, other.params = other.params, table.format = table.format, add.function.name = add.function.name, return.as = return.as, envir = envir, ...)`: Error: the.functions must be specified with functions that are loaded. Make sure to call library() for the required packages. Backtrace: ▆ 1. └─DTwrappers2::dt.median.numerics(...) at test-dt.median.numerics.R:12:5 2. └─DTwrappers::dt.calculate(...) ── Error ('test-dt.min.numerics.R:8:5'): dt.min.numerics functionality: computes minimum values correctly with grouping by species ── Error in `dt.calculate(dt.name = dt.name, the.variables = the.variables, the.functions = "min.numerics", the.filter = the.filter, grouping.variables = grouping.variables, sortby.group = sortby.group, other.params = other.params, table.format = table.format, add.function.name = add.function.name, return.as = return.as, envir = envir, ...)`: Error: the.functions must be specified with functions that are loaded. Make sure to call library() for the required packages. Backtrace: ▆ 1. └─DTwrappers2::dt.min.numerics(...) at test-dt.min.numerics.R:8:5 2. └─DTwrappers::dt.calculate(...) ── Error ('test-dt.remove.erroneous.characters.R:12:5'): Functionality of dt.remove.erroneous.characters: executes without errors and returns a data.table ── Error in `dt.calculate(dt.name = dt.name, the.functions = "remove.erroneous.characters", the.variables = the.variables, the.filter = the.filter, grouping.variables = NULL, sortby.group = TRUE, other.params = other.params, table.format = "wide", add.function.name = FALSE, individual.variables = TRUE, output.as.table = TRUE, return.as = return.as, envir = envir)`: Error: the.functions must be specified with functions that are loaded. Make sure to call library() for the required packages. Backtrace: ▆ 1. └─DTwrappers2::dt.remove.erroneous.characters(...) at test-dt.remove.erroneous.characters.R:12:5 2. └─DTwrappers::dt.calculate(...) ── Error ('test-dt.round.numerics.R:18:5'): Functionality of dt.round.numerics: correctly rounds the numeric values to specified digits ── Error in `dt.calculate(dt.name = dt.name, the.variables = the.variables, the.functions = "round.numerics", the.filter = the.filter, grouping.variables = grouping.variables, sortby.group = sortby.group, other.params = other.params, table.format = "wide", add.function.name = add.function.name, return.as = return.as, envir = envir, ...)`: Error: the.functions must be specified with functions that are loaded. Make sure to call library() for the required packages. Backtrace: ▆ 1. └─DTwrappers2::dt.round.numerics(dt.name = "grouped.means", digits = 2) at test-dt.round.numerics.R:18:5 2. └─DTwrappers::dt.calculate(...) [ FAIL 16 | WARN 0 | SKIP 0 | PASS 0 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... NOTE 'library' or 'require' call not declared from: ‘markdown’ * checking package vignettes ... OK * checking re-building of vignette outputs ... [0s/0s] 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: 1 ERROR, 3 NOTEs