CRAN Package Check Results for Package EmiStatR

Last updated on 2022-09-27 12:52:50 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.3.0 8.09 46.42 54.51 OK
r-devel-linux-x86_64-debian-gcc 1.2.3.0 4.46 35.43 39.89 OK
r-devel-linux-x86_64-fedora-clang 1.2.3.0 77.85 OK
r-devel-linux-x86_64-fedora-gcc 1.2.3.0 75.44 OK
r-devel-windows-x86_64 1.2.3.0 22.00 83.00 105.00 OK
r-patched-linux-x86_64 1.2.3.0 7.24 44.24 51.48 OK
r-release-linux-x86_64 1.2.3.0 7.80 44.25 52.05 OK
r-release-macos-arm64 1.2.3.0 25.00 OK
r-release-macos-x86_64 1.2.3.0 39.00 ERROR
r-release-windows-x86_64 1.2.3.0 20.00 78.00 98.00 OK
r-oldrel-macos-arm64 1.2.3.0 28.00 OK
r-oldrel-macos-x86_64 1.2.3.0 37.00 ERROR
r-oldrel-windows-ix86+x86_64 1.2.3.0 13.00 75.00 88.00 OK

Check Details

Version: 1.2.3.0
Check: examples
Result: 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
Flavors: r-release-macos-x86_64, r-oldrel-macos-x86_64