Last updated on 2025-06-25 13:55:49 CEST.
Package | ERROR | OK |
---|---|---|
RtsEva | 2 | 11 |
Current CRAN status: ERROR: 2, OK: 11
Version: 1.1.0
Check: examples
Result: ERROR
Running examples in ‘RtsEva-Ex.R’ failed
The error most likely occurred in:
> ### Name: tsEvaTransformSeriesToStatSeasonal_ciPercentile
> ### Title: tsEvaTransformSeriesToStatSeasonal_ciPercentile
> ### Aliases: tsEvaTransformSeriesToStatSeasonal_ciPercentile
>
> ### ** Examples
>
> timeAndSeries <- ArdecheStMartin
> timeStamps <- ArdecheStMartin[,1]
> series <- ArdecheStMartin[,2]
> #select only the 5 latest years
> yrs <- as.integer(format(timeStamps, "%Y"))
> tokeep <- which(yrs>=2015)
> timeStamps <- timeStamps[tokeep]
> series <- series[tokeep]
> timeWindow <- 365 # 1 year
> percentile <- 90
> result <- tsEvaTransformSeriesToStatSeasonal_ciPercentile(timeStamps,
+ series, timeWindow, percentile)
computing trend...
trend on the 90 percentile
computing trend seasonality...
Warning in pracma::interp1(avgTmStamp, monthAvgVec, timeStampsN, method = "spline") :
Points in argument in 'x' unsorted; will be sorted.
Warning in pracma::interp1(avgTmStamp, monthAvgVex, timeStampsN, method = "spline") :
Points in argument in 'x' unsorted; will be sorted.
computing the slowly varying 90th percentile...
computing standard deviation seasonality...
Warning in pracma::interp1(avgTmStamp, monthAvgVec, timeStampsN, method = "spline") :
Points in argument in 'x' unsorted; will be sorted.
Warning in pracma::interp1(avgTmStamp, monthAvgVex, timeStampsN, method = "spline") :
Points in argument in 'x' unsorted; will be sorted.
> plot(result$trendSeries)
Warning in min(x) : no non-missing arguments to min; returning Inf
Warning in max(x) : no non-missing arguments to max; returning -Inf
Error in plot.window(...) : need finite 'ylim' values
Calls: plot -> plot.default -> localWindow -> plot.window
Execution halted
Flavors: r-release-macos-arm64, r-oldrel-macos-arm64