* using log directory ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.4/EmiStatR.Rcheck’
* using R version 4.4.1 (2024-06-14)
* using platform: x86_64-apple-darwin20
* R was compiled by
    Apple clang version 14.0.0 (clang-1400.0.29.202)
    GNU Fortran (GCC) 12.2.0
* running under: macOS Ventura 13.3.1
* 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/6s] OK
See 'https://www.r-project.org/nosvn/R.check/r-release-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 code 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/4s] OK
* checking Rd files ... [0s/0s] NOTE
checkRd: (-1) EmiStatR-methods.Rd:86: Lost braces; missing escapes or markup?
    86 | execute {EmiStatR} function
       |         ^
checkRd: (-1) input-class.Rd:136: Lost braces; missing escapes or markup?
   136 |     \item{EmiStatR}{\code{signature(x = "input")}: execute {EmiStatR} function }
       |                                                            ^
* 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/0s] OK
* checking data for ASCII and uncompressed saves ... OK
* checking examples ... [1s/1s] 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/9s] OK
* DONE
Status: 1 ERROR, 1 NOTE
* using check arguments '--no-clean-on-error '

* elapsed time (check, wall clock): 0:46