* using log directory ‘/srv/hornik/tmp/CRAN_pretest/DataTransformation.Rcheck’ * using R Under development (unstable) (2024-12-13 r87441) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.1 (1) Debian flang-new version 19.1.1 (1) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘DataTransformation/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘DataTransformation’ version ‘0.1.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [3s/3s] NOTE Maintainer: ‘Zainab Said Al Hosni ’ New submission No Authors@R field in DESCRIPTION. Please add one, modifying Authors@R: c(person(given = c("Zainab", "Said"), family = "Alhosni", role = "aut", email = "[s133464@student.squ.edu.om]"), person(given = c("Zainab", "Said", "Al"), family = "Hosni", role = "cre", email = "s133464@student.squ.edu.om")) as necessary. * 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 ‘DataTransformation’ can be installed ... [1s/1s] OK * checking package directory ... OK * checking for future file timestamps ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... NOTE Non-standard files/directories found at top level: ‘DataTransformayionPackage.pdf’ ‘code.Rmd’ * 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 box_cox_transform: no visible global function definition for ‘boxcox’ box_cox_transform: no visible global function definition for ‘lm’ moving_average: no visible global function definition for ‘::<-’ moving_average: no visible binding for global variable ‘filter’ sum_average: no visible global function definition for ‘%>%’ sum_average: no visible global function definition for ‘group_by’ sum_average: no visible global function definition for ‘summarize’ weighted_average: no visible global function definition for ‘%>%’ weighted_average: no visible global function definition for ‘group_by’ weighted_average: no visible global function definition for ‘summarize’ z_score: no visible global function definition for ‘sd’ Undefined global functions or variables: %>% ::<- boxcox filter group_by lm sd summarize Consider adding importFrom("stats", "filter", "lm", "sd") to your NAMESPACE file. * checking Rd files ... [0s/0s] OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... WARNING Missing link(s) in Rd file 'min_max_normalize.Rd': ‘0, 1’ See section 'Cross-references' in the 'Writing R Extensions' manual. Found the following Rd file(s) with Rd \link{} targets missing package anchors: min_max_normalize.Rd: 0, 1 Please provide package anchors for all Rd \link{} targets not in the package itself and the base packages. * 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 examples ... [0s/0s] ERROR Running examples in ‘DataTransformation-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: box_cox_transform > ### Title: Box-Cox Transformation > ### Aliases: box_cox_transform > > ### ** Examples > > box_cox_transform(c(1, 2, 3)) Error in boxcox(lm(y ~ 1), lambda = seq(-2, 2, by = 0.1)) : could not find function "boxcox" Calls: box_cox_transform Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [0s/0s] 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(datatransform) Error in library(datatransform) : there is no package called 'datatransform' Execution halted * 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, 1 WARNING, 3 NOTEs