* using log directory 'd:/RCompile/CRANincoming/R-devel/lmForc.Rcheck' * using R Under development (unstable) (2024-08-28 r87069 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'lmForc/DESCRIPTION' ... OK * this is package 'lmForc' version '1.0.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... Note_to_CRAN_maintainers Maintainer: 'Nelson Rayl ' * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'lmForc' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... NOTE Non-standard file/directory found at top level: 'README.html' * 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 ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... 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 ... NOTE conditional_forc_general: no visible global function definition for 'formalArgs' is_forc_general: no visible global function definition for 'formalArgs' oos_realized_forc_general: no visible global function definition for 'formalArgs' oos_vintage_forc_general: no visible global function definition for 'formalArgs' Undefined global functions or variables: formalArgs Consider adding importFrom("methods", "formalArgs") to your NAMESPACE file (and ensure that your DESCRIPTION Imports field contains 'methods'). Found if() conditions comparing class() to string: File 'lmForc/R/Forecast.R': if (class(object@forecast) != "numeric") ... File 'lmForc/R/Forecast.R': if (class(object@realized) != "numeric") ... File 'lmForc/R/conditional_forc.R': if (class(lm_call) != "lm") ... File 'lmForc/R/conditional_forc_general.R': if (class(model_function) != "function") ... File 'lmForc/R/conditional_forc_general.R': if (class(prediction_function) != "function") ... File 'lmForc/R/is_forc.R': if (class(lm_call) != "lm") ... File 'lmForc/R/is_forc_general.R': if (class(model_function) != "function") ... File 'lmForc/R/is_forc_general.R': if (class(prediction_function) != "function") ... File 'lmForc/R/is_forc_general.R': if (class(forecast) != "numeric") ... File 'lmForc/R/oos_lag_forc.R': if (class(lm_call) != "lm") ... File 'lmForc/R/oos_realized_forc.R': if (class(lm_call) != "lm") ... File 'lmForc/R/oos_realized_forc_general.R': if (class(model_function) != "function") ... File 'lmForc/R/oos_realized_forc_general.R': if (class(prediction_function) != "function") ... File 'lmForc/R/oos_vintage_forc.R': if (class(lm_call) != "lm") ... File 'lmForc/R/oos_vintage_forc_general.R': if (class(model_function) != "function") ... File 'lmForc/R/oos_vintage_forc_general.R': if (class(prediction_function) != "function") ... Use inherits() (or maybe is()) instead. * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... NOTE Rd file 'conditional_forc_general.Rd': \examples lines wider than 100 characters: x1 <- c(8.22, 3.86, 4.27, 3.37, 5.88, 3.34, 2.92, 1.80, 3.30, 7.17, 3.22, 3.86, 4.27, 3.37, 5.88, 3.34) x2 <- c(4.03, 2.46, 2.04, 2.44, 6.09, 2.91, 1.68, 2.91, 3.87, 1.63, 4.03, 2.46, 2.04, 2.44, 6.09, 2.91) Rd file 'is_forc_general.Rd': \examples lines wider than 100 characters: prediction_function = function(model_function, data) {as.vector(predict(model_function, data, type = "response"))}, Rd file 'oos_realized_forc_general.Rd': \examples lines wider than 100 characters: x1 <- c(8.22, 3.86, 4.27, 3.37, 5.88, 3.34, 2.92, 1.80, 3.30, 7.17, 3.22, 3.86, 4.27, 3.37, 5.88, 3.34) x2 <- c(4.03, 2.46, 2.04, 2.44, 6.09, 2.91, 1.68, 2.91, 3.87, 1.63, 4.03, 2.46, 2.04, 2.44, 6.09, 2.91) prediction_function = function(model_function, data) {as.vector(predict(model_function, data, type = "response"))}, Rd file 'oos_vintage_forc_general.Rd': \examples lines wider than 100 characters: x1 <- c(8.22, 3.86, 4.27, 3.37, 5.88, 3.34, 2.92, 1.80, 3.30, 7.17, 3.22, 3.86, 4.27, 3.37, 5.88, 3.34) x2 <- c(4.03, 2.46, 2.04, 2.44, 6.09, 2.91, 1.68, 2.91, 3.87, 1.63, 4.03, 2.46, 2.04, 2.44, 6.09, 2.91) These lines will be truncated in the PDF manual. * 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 ... OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... OK Running 'testthat.R' * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... [18s] OK * checking HTML version of manual ... OK * DONE Status: 3 NOTEs