* using log directory ‘/srv/hornik/tmp/CRAN_pretest/genset.Rcheck’ * using R Under development (unstable) (2025-03-27 r88065) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.7 (1+b1) Debian flang-new version 19.1.7 (1+b1) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘genset/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘genset’ version ‘0.1.1’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [4s/4s] NOTE Maintainer: ‘Lori Murray ’ No Authors@R field in DESCRIPTION. Please add one, modifying Authors@R: person(given = "Lori", family = "Murray", role = c("aut", "cre"), email = "lori.murray@uwo.ca") as necessary. Found the following (possibly) invalid file URIs: URI: lori.murray@uwo.ca From: man/Genset.Rd URI: jwilson@ivey.ca From: man/Genset.Rd The Description field should not start with the package name, 'This package' or similar. * 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 ‘genset’ 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 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 ... [3s/3s] NOTE g1: no visible global function definition for ‘lm’ g2: no visible global function definition for ‘lm’ g3: no visible global function definition for ‘lm’ g4: no visible global function definition for ‘lm’ getSample: no visible global function definition for ‘rnorm’ getStats: no visible global function definition for ‘sd’ getStats: no visible global function definition for ‘median’ Undefined global functions or variables: lm median rnorm sd Consider adding importFrom("stats", "lm", "median", "rnorm", "sd") 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 ... WARNING Functions or methods with usage in Rd file 'hello.Rd' but not in code: ‘hello’ Codoc mismatches from Rd file 'Genset.Rd': genset Code: function(y, x1, x2, method = c(1, 2), option = c("x1", "x2", "both"), n, decrease = FALSE, output = FALSE) Docs: function(y = y, x1 = x1, x2 = x2, method = 1, option = "x1", n = n) Argument names in code not in docs: decrease output Mismatches in argument default values (first 3): Name: 'y' Code: Docs: y Name: 'x1' Code: Docs: x1 Name: 'x2' Code: Docs: x2 * 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 ... [14s/14s] ERROR Running examples in ‘genset-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: hello > ### Title: Hello, World! > ### Aliases: hello > > ### ** Examples > > hello() Error in hello() : could not find function "hello" Execution halted Examples with CPU (user + system) or elapsed time > 5s user system elapsed Genset 13.362 0 13.365 * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [47s/47s] OK * 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, 1 WARNING, 2 NOTEs