* using log directory ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.3/EmiStatR.Rcheck’ * using R version 4.3.0 RC (2023-04-13 r84266) * using platform: x86_64-apple-darwin20 (64-bit) * R was compiled by Apple clang version 14.0.3 (clang-1403.0.22.14.1) GNU Fortran (GCC) 12.2.0 * running under: macOS Ventura 13.3 * using session charset: UTF-8 * checking for file ‘EmiStatR/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘EmiStatR’ version ‘1.2.3.0’ * 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 executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘EmiStatR’ can be installed ... [4s/5s] OK See 'https://www.r-project.org/nosvn/R.check/r-oldrel-macos-x86_64/EmiStatR-00install.html' for details. * checking installed package size ... OK * checking package 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 ... [0s/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] OK * checking loading without being on the library search path ... [0s/0s] 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 ... [3s/3s] OK * checking Rd files ... [0s/0s] OK * checking Rd metadata ... 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 ... [0s/1s] OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... [1s/2s] ERROR Running examples in ‘EmiStatR-Ex.R’ failed The error most likely occurred in: > ### Name: CInp2TS > ### Title: Function to convert Constant Input to Time Series > ### Aliases: CInp2TS > ### Keywords: CInp2TS > > ### ** Examples > > library(EmiStatR) > library(zoo) Attaching package: ‘zoo’ The following objects are masked from ‘package:base’: as.Date, as.Date.numeric > > data("Esch_Sure2010") > data("qs_factor") > > cinp <- 150 # water consumption [m3/h] > prec <- Esch_Sure2010[1:1000,] # selecting just the first 1,000 rows > > cinp.daily.file <- qs_factor > cinp.weekly <- list(mon=1, tue=.83, wed=.83, thu=.83, fri=1, sat=1.25, sun=1.25) > # factors average to 1 > cinp.seasonal <- list(jan=.79, feb=.79, mar=1.15, apr=1.15, may=1.15, jun=1.15, + jul=1.15, aug=1.15, sep=1.15, oct=1.15, nov=.79, dec=.79) > # factors average to 1 > ts1 <- CInp2TS(cinp, prec, cinp.daily.file, cinp.weekly, cinp.seasonal) Error in `[.xts`(cinp.ts.deltap, 1:nrow(P1), ) : subscript out of bounds Calls: CInp2TS -> [ -> [.xts Execution halted * checking PDF version of manual ... [6s/13s] OK * DONE Status: 1 ERROR * using check arguments '--no-clean-on-error ' * elapsed time (check, wall clock): 0:48