Last updated on 2024-12-22 10:50:16 CET.
Package | ERROR | OK |
---|---|---|
RtsEva | 4 | 9 |
Current CRAN status: ERROR: 4, OK: 9
Version: 1.0.0
Check: examples
Result: ERROR
Running examples in ‘RtsEva-Ex.R’ failed
The error most likely occurred in:
> ### Name: tsEstimateAverageSeasonality
> ### Title: Estimate Average Seasonality
> ### Aliases: tsEstimateAverageSeasonality
>
> ### ** Examples
>
> timeAndSeries <- ArdecheStMartin
> timeStamps <- ArdecheStMartin[,1]
> series <- ArdecheStMartin[,2]
> timeWindow <- 30*365 # 30 years
> rs <- tsEvaDetrendTimeSeries(timeStamps, series, timeWindow)
> nRunMn <- rs@nRunMn
> cat("computing trend seasonality ...\n")
computing trend seasonality ...
> seasonalitySeries <- rs@detrendSeries
> result <- tsEstimateAverageSeasonality(timeStamps, seasonalitySeries, timeWindow=rs@nRunMn)
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$regime, type = "l", xlab = "Day", ylab = "Regime", main = "Estimated Regime")
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-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64