Last updated on 2024-11-08 07:50:40 CET.
Package | ERROR | NOTE | OK |
---|---|---|---|
EmiStatR | 2 | 9 | 2 |
Current CRAN status: ERROR: 2, NOTE: 9, OK: 2
Version: 1.2.3.0
Check: Rd files
Result: 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 }
| ^
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
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