* using log directory 'd:/RCompile/CRANincoming/R-devel/FunctionalCalibration.Rcheck' * using R Under development (unstable) (2025-06-13 r88311 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 14.2.0 GNU Fortran (GCC) 14.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'FunctionalCalibration/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'FunctionalCalibration' version '1.0.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Vitor Perrone ' New submission The Description field contains on the paper and the Master's thesis . Please write DOIs as . * 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 'FunctionalCalibration' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... 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 ... 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 Bayesian_Shrinkage: no visible global function definition for 'rnorm' Bayesian_Shrinkage: no visible global function definition for 'dnorm' Bayesian_Shrinkage: no visible global function definition for 'integrate' Bayesian_Shrinkage : : no visible global function definition for 'dnorm' functional_calibration_splines: no visible global function definition for 'recordPlot' functional_calibration_wavelets: no visible global function definition for 'median' functional_calibration_wavelets: no visible global function definition for 'recordPlot' plot_aggregated_curve: no visible global function definition for 'recordPlot' weight_estimation: no visible global function definition for 'coef' weight_estimation: no visible global function definition for 'lm' Undefined global functions or variables: coef dnorm integrate lm median recordPlot rnorm Consider adding importFrom("grDevices", "recordPlot") importFrom("stats", "coef", "dnorm", "integrate", "lm", "median", "rnorm") to your NAMESPACE file. Found if() conditions comparing class() to string: File 'FunctionalCalibration/R/functional_calibration_splines.R': if (class(data) == "data.frame") ... File 'FunctionalCalibration/R/functional_calibration_splines.R': if (class(weights) == "data.frame") ... File 'FunctionalCalibration/R/functional_calibration_wavelets.R': if (class(data) == "data.frame") ... File 'FunctionalCalibration/R/functional_calibration_wavelets.R': if (class(weights) == "data.frame") ... File 'FunctionalCalibration/R/plot_aggregated_curve.R': if (class(alpha) == "data.frame") ... File 'FunctionalCalibration/R/weight_aggregated_data_estimation.R': if (class(alpha) == "data.frame") ... Use inherits() (or maybe is()) instead. * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... NOTE Rd file 'functional_calibration_wavelets.Rd': \examples lines wider than 100 characters: functional_calibration_wavelets(simulated_data$data, simulated_data$weights, tau = 5, p = 0.95, sigma = 0.1, x = simulated_data$x) Rd file 'plot_aggregated_curve.Rd': \examples lines wider than 100 characters: plot_aggregated_curve(simulated_data$alphas, c(0.7, 0.3), "Aggregated Curve Example", simulated_data$x) 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... ERROR Running examples in 'FunctionalCalibration-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: Bayesian_Shrinkage > ### Title: Bayesian Shrinkage > ### Aliases: Bayesian_Shrinkage > ### Keywords: internal > > ### ** Examples > > Bayesian_Shrinkage(0.3, 5, 0.95, 0.1, FALSE) Error in Bayesian_Shrinkage(0.3, 5, 0.95, 0.1, FALSE) : could not find function "Bayesian_Shrinkage" Execution halted * checking PDF version of manual ... [13s] OK * checking HTML version of manual ... OK * DONE Status: 1 ERROR, 3 NOTEs