* using log directory 'd:/RCompile/CRANincoming/R-devel/APRScenario.Rcheck' * using R Under development (unstable) (2025-06-26 r88362 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 'APRScenario/DESCRIPTION' ... OK * this is package 'APRScenario' version '0.0.3.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Giovanni Lombardo ' New submission Possibly misspelled words in DESCRIPTION: Antolin (2:49) Diaz (2:57) JME (3:28) Petrella (2:63) Rubio (3:13) Package has a VignetteBuilder field but no prebuilt vignette index. Found the following (possibly) invalid URLs: URL: https://www.sciencedirect.com/science/article/abs/pii/S0304393220300751 From: README.md Status: 403 Message: Forbidden Please use DOIs for the following publisher URLs: https://www.sciencedirect.com/science/article/abs/pii/S0304393220300751 The Title field should be in title case. Current version is: 'Generates conditional scenarios based on Antolin-Diaz, Petrella and Rubio-Ramirez (JME 2021) (APR)' In title case that is: 'Generates Conditional Scenarios Based on Antolin-Diaz, Petrella and Rubio-Ramirez (JME 2021) (APR)' The Description field should not start with the package name, 'This package' or similar. * checking package namespace information ... OK * checking package dependencies ... INFO Vignette dependency required without any vignettes: 'knitr' Package in Depends/Imports which should probably only be in LinkingTo: 'RcppArmadillo' * 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 'APRScenario' can be installed ... OK * used C++ compiler: 'g++.exe (GCC) 14.2.0' * checking installed package size ... 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: 'APRScenario.Rmd' 'APRScenario.html' 'alternative_src' 'compile_again_and_push.r' 'figures' * 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 ... NOTE Registration problem: call includes ..., expected 9 parameters: .Call(`_APRScenario_full_scenarios_core`, ...) See chapter 'System and foreign language interfaces' in the 'Writing R Extensions' manual. * checking R code for possible problems ... [12s] NOTE KL: no visible binding for global variable 'KLM' big_b_and_M: no visible binding for global variable 'Z' forc_h: no visible binding for global variable 'Z' forc_h: no visible binding for global variable '.' gen_mats: no visible binding for '<<-' assignment to 'M_inv' gen_mats: no visible binding for '<<-' assignment to 'M_list' gen_mats: no visible binding for global variable 'M_inv' gen_mats : : no visible binding for global variable 'M_inv' gen_mats: no visible binding for '<<-' assignment to 'M' gen_mats: no visible binding for global variable 'M_list' gen_mats: no visible binding for '<<-' assignment to 'B' gen_mats: no visible binding for '<<-' assignment to 'intercept' gen_mats: no visible binding for global variable 'B' gen_mats: no visible binding for '<<-' assignment to 'B_list' gen_mats : : no visible binding for global variable 'B' gen_mats: no visible binding for global variable 'B_list' gen_mats: no visible binding for '<<-' assignment to 'Y' gen_mats: no visible binding for global variable 'specification' gen_mats: no visible binding for '<<-' assignment to 'XX' gen_mats: no visible binding for '<<-' assignment to 'Z' gen_mats: no visible binding for global variable 'Y' gen_mats: no visible binding for global variable 'XX' mat_forc: no visible binding for global variable 'Z' mat_forc : : no visible binding for global variable 'B_list' mat_forc: no visible binding for global variable '.' mat_forc: no visible binding for global variable 'M' mat_forc: no visible binding for global variable 'B_list' mat_forc : : no visible binding for global variable 'intercept' plot_bvars: no visible binding for global variable 'time' plot_bvars: no visible binding for global variable 'lower_bound' plot_bvars: no visible binding for global variable 'upper_bound' plot_cond_forc: no visible binding for global variable '.' plot_cond_forc: no visible binding for global variable 'variable' plot_cond_forc: no visible binding for global variable 'hor' plot_cond_forc: no visible binding for global variable 'data' plot_cond_histo: no visible binding for global variable 'density' scenarios: no visible binding for global variable 'Z' Undefined global functions or variables: . B B_list KLM M M_inv M_list XX Y Z data density hor intercept lower_bound specification time upper_bound variable Consider adding importFrom("stats", "density", "time") importFrom("utils", "data") to your NAMESPACE file. * checking Rd files ... NOTE checkRd: (-1) mat_forc.Rd:11: Lost braces; missing escapes or markup? 11 | M is reduced so that E(u\emph{u')=Sigma=(A_0}A_0')^{-1} and M_0=A_0^{-1}*Q # | ^ checkRd: (-1) mat_forc.Rd:11: Lost braces; missing escapes or markup? 11 | M is reduced so that E(u\emph{u')=Sigma=(A_0}A_0')^{-1} and M_0=A_0^{-1}*Q # | ^ checkRd: (-1) mat_forc.Rd:13: Lost braces; missing escapes or markup? 13 | B=>A_0^{-1}*Q and # | ^ checkRd: (-1) mat_forc.Rd:43: Lost braces; missing escapes or markup? 43 | M is reduced so that E(u\emph{u')=Sigma=(A_0}A_0')^{-1} and M_0=A_0^{-1}*Q # | ^ checkRd: (-1) mat_forc.Rd:43: Lost braces; missing escapes or markup? 43 | M is reduced so that E(u\emph{u')=Sigma=(A_0}A_0')^{-1} and M_0=A_0^{-1}*Q # | ^ checkRd: (-1) mat_forc.Rd:45: Lost braces; missing escapes or markup? 45 | B=>A_0^{-1}*Q and # | ^ * 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 Variables with usage in Rd file 'NKdata.Rd' but not in code: 'NKdata' * 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 data for ASCII and uncompressed saves ... OK * checking line endings in C/C++/Fortran sources/headers ... OK * checking line endings in Makefiles ... OK * checking compilation flags in Makevars ... OK * checking for GNU extensions in Makefiles ... OK * checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK * checking use of PKG_*FLAGS in Makefiles ... OK * checking use of SHLIB_OPENMP_*FLAGS in Makefiles ... OK * checking pragmas in C/C++ headers and code ... OK * checking compilation flags used ... OK * checking compiled code ... OK * checking examples ... NONE * checking for unstated dependencies in 'tests' ... OK * checking tests ... OK Running 'testthat.R' * checking PDF version of manual ... [20s] OK * checking HTML version of manual ... OK * DONE Status: 1 WARNING, 5 NOTEs