* using log directory 'd:/RCompile/CRANincoming/R-devel/bootCT.Rcheck' * using R Under development (unstable) (2023-12-04 r85659 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 12.3.0 GNU Fortran (GCC) 12.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'bootCT/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'bootCT' version '2.0.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... WARNING Maintainer: 'Gianmarco Vacca ' Insufficient package version (submitted: 2.0.0, existing: 2.0.0) Days since last update: 6 * 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 'bootCT' can be installed ... OK * used C++ compiler: 'g++.exe (GCC) 12.3.0' * 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 ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R 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 ... [13s] NOTE summary.bootCT: no visible binding for global variable 'X1' summary.bootCT: no visible binding for global variable 'X2' summary.bootCT: no visible binding for global variable 'series' summary.bootCT: no visible binding for global variable 'lag' Undefined global functions or variables: X1 X2 lag series Consider adding importFrom("stats", "lag") to your NAMESPACE file. * 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 R/sysdata.rda ... 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... ERROR Running examples in 'bootCT-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: sim_vecm_ardl > ### Title: Generate data from a VECM/ARDL equation > ### Aliases: sim_vecm_ardl > > ### ** Examples > > #PARAMETERS > > #Sigma > corrm = matrix(0, ncol = 3, nrow = 3) > corrm[2,1] = 0.25 > corrm[3,1] = 0.4 > corrm[3,2] = -0.25 > corrs = (corrm + t(corrm)) + diag(3) > sds = diag(c(1.3, 1.2, 1)) > sigma = (sds %*% corrs %*% t(sds)) > > #Gamma > gammax = list() > gammax[[1]] = matrix(c(0.6, 0, 0.2, 0.1, -0.3, 0, 0, -0.3, 0.2), nrow = 3, ncol = 3, byrow = TRUE) > gammax[[2]] = matrix(c(0.2, 0, 0.1, 0.05, -0.15, 0, 0, 0, 0.1), nrow = 3, ncol = 3, byrow = TRUE) > > #DATA GENERATION > data_sim = sim_vecm_ardl(nobs = 200, + case = 3, + sigma.in = sigma, + gamma.in = gammax, + axx.in = matrix(c(0.3, 0.5, 0.4, 0.3), nrow = 2, ncol = 2), + ayx.uc.in = c(0.5,0.6), + ayy.in = 0.7, + mu.in = rep(0.3, 3), + eta.in = rep(0, 3), + azero.in = rep(0.4, 3), + aone.in = rep(0, 3), + burn.in = 50, + seed.in = 10) Error in sim_vecm_ardl(nobs = 200, case = 3, sigma.in = sigma, gamma.in = gammax, : CASE III implies unrestricted intercept and no trend, please check parameter values. Execution halted * checking for unstated dependencies in vignettes ... NOTE 'library' or 'require' calls not declared from: 'ggplot2' 'reshape2' * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... ERROR Error(s) in re-building vignettes: --- re-building 'bootCTvignette.Rmd' using rmarkdown Quitting from lines 151-154 [unnamed-chunk-2] (bootCTvignette.Rmd) Error: processing vignette 'bootCTvignette.Rmd' failed with diagnostics: there is no package called 'reshape2' --- failed re-building 'bootCTvignette.Rmd' SUMMARY: processing the following file failed: 'bootCTvignette.Rmd' Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [21s] OK * checking HTML version of manual ... OK * DONE Status: 2 ERRORs, 1 WARNING, 2 NOTEs