CRAN Package Check Results for Maintainer ‘J.A. Torres-Matallana <arturo.torres at list.lu>’

Last updated on 2022-09-11 12:56:39 CEST.

Package ERROR OK
EmiStatR 2 11
Watersheds 13

Package EmiStatR

Current CRAN status: ERROR: 2, OK: 11

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

Package Watersheds

Current CRAN status: OK: 13