* using log directory 'd:/RCompile/CRANincoming/R-devel/RiskMap.Rcheck' * using R Under development (unstable) (2024-06-20 r86796 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 'RiskMap/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'RiskMap' version '0.1.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Emanuele Giorgi ' New submission Possibly misspelled words in DESCRIPTION: Geostatistical (3:8) * 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 'RiskMap' 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 ... [33s] NOTE glgpm: no visible global function definition for 'st_crs<-' glgpm: no visible binding for global variable 'sigma2_re' glgpm_nong: no visible binding for global variable 'start_pars' glgpm_sim: no visible global function definition for 'st_crs<-' glgpm_sim: no visible global function definition for 'steop' plot.RiskMap_pred_target_shp: no visible binding for global variable 'object' plot.RiskMap_pred_target_shp: no visible binding for global variable '.data' plot_s_variogram: no visible binding for global variable 'mid_points' plot_s_variogram: no visible binding for global variable 'obs_vari' pred_over_grid: no visible binding for global variable 'control_mcmc' Undefined global functions or variables: .data control_mcmc mid_points object obs_vari sigma2_re st_crs<- start_pars steop Found if() conditions comparing class() to string: File 'RiskMap/R/parameter_estimation.R': if (class(formula) != "formula") ... File 'RiskMap/R/parameter_estimation.R': if (class(control_mcmc) != "mcmc.RiskMap") ... File 'RiskMap/R/parameter_estimation.R': if (class(model_fit) != "RiskMap") ... File 'RiskMap/R/parameter_estimation.R': if (class(formula) != "formula") ... File 'RiskMap/R/spatial_prediction.R': if (class(control_mcmc) != "mcmc.RiskMap") ... Use inherits() (or maybe is()) instead. * checking Rd files ... 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 ... 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 ... [10s] OK * checking PDF version of manual ... [16s] OK * checking HTML version of manual ... OK * DONE Status: 2 NOTEs