CRAN Package Check Results for Package EmiStatR

Last updated on 2022-08-15 08:49:55 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.3.0 8.07 45.95 54.02 OK
r-devel-linux-x86_64-debian-gcc 1.2.3.0 5.06 34.90 39.96 OK
r-devel-linux-x86_64-fedora-clang 1.2.3.0 74.69 OK
r-devel-linux-x86_64-fedora-gcc 1.2.3.0 76.59 OK
r-devel-windows-x86_64 1.2.3.0 22.00 77.00 99.00 OK
r-patched-linux-x86_64 1.2.3.0 7.40 43.91 51.31 OK
r-release-linux-x86_64 1.2.3.0 5.33 44.63 49.96 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 16.00 75.00 91.00 OK
r-oldrel-macos-arm64 1.2.3.0 28.00 OK
r-oldrel-macos-x86_64 1.2.3.0 38.00 ERROR
r-oldrel-windows-ix86+x86_64 1.2.3.0 13.00 72.00 85.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