Last updated on 2025-08-08 03:49:57 CEST.
Package | ERROR | OK |
---|---|---|
bpAcc | 13 | |
VGAMextra | 4 | 9 |
Current CRAN status: OK: 13
Current CRAN status: ERROR: 4, OK: 9
Version: 0.0-7
Check: examples
Result: ERROR
Running examples in ‘VGAMextra-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: ARIMAXff
> ### Title: VGLTSMs Family functions: The Order-(p, d, q) Autoregressive
> ### Integrated Moving Average Model (ARIMA(p, d, q)) with covariates
> ### Aliases: ARIMAXff ARMAXff
>
> ### ** Examples
>
> set.seed(3)
> nn <- 90
> theta <- c(0.12, 0.17) # AR coefficients
> phi <- c(-0.15, 0.20) # MA coefficients.
> sdWNN <- exp(1.0) # SDs
> mu <- c(1.25, 0.85) # Mean (not drift) of the process.
> covX <- runif(nn + 1) # A single covariate.
> mux3 <- mu[1] + covX
> ##
> ## Simulate ARMA processes. Here, the drift for 'tsd3' depends on covX.
> ##
> tsdata <- data.frame(TS1 = mu[1] + arima.sim(model = list(ar = theta, ma = phi,
+ order = c(2, 1, 2)), n = nn, sd = sdWNN ),
+ TS2 = mu[2] + arima.sim(model = list(ar = theta, ma = phi,
+ order = c(2, 1, 2)), n = nn, sd = exp(2 + covX)),
+ TS3 = mux3 + arima.sim(model = list(ar = theta, ma = phi,
+ order = c(2, 1, 2)), n = nn, sd = exp(2 + covX) ),
+ x2 = covX)
>
> ### EXAMPLE 1. Fitting a simple ARIMA(2, 1, 2) using vglm().
> # Note that no covariates involved.
> fit.ARIMA1 <- vglm(TS1 ~ 1, ARIMAXff(order = c(2, 1, 2), var.arg = FALSE,
+ # OPTIONAL INITIAL VALUES
+ # idrift = c(1.5)*(1 - sum(theta)),
+ # ivar = exp(4), isd = exp(2),
+ # iARcoeff = c(0.20, -0.3, 0.1),
+ # iMAcoeff = c(0.25, 0.35, 0.1),
+ type.EIM = "exact"),
+ data = tsdata, trace = TRUE, crit = "log")
Error in `[.default`(y, , ii, drop = FALSE) :
incorrect number of dimensions
Calls: vglm -> eval -> eval -> [ -> [.ts -> NextMethod
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 0.0-7
Check: examples
Result: ERROR
Running examples in ‘VGAMextra-Ex.R’ failed
The error most likely occurred in:
> ### Name: ARIMAXff
> ### Title: VGLTSMs Family functions: The Order-(p, d, q) Autoregressive
> ### Integrated Moving Average Model (ARIMA(p, d, q)) with covariates
> ### Aliases: ARIMAXff ARMAXff
>
> ### ** Examples
>
> set.seed(3)
> nn <- 90
> theta <- c(0.12, 0.17) # AR coefficients
> phi <- c(-0.15, 0.20) # MA coefficients.
> sdWNN <- exp(1.0) # SDs
> mu <- c(1.25, 0.85) # Mean (not drift) of the process.
> covX <- runif(nn + 1) # A single covariate.
> mux3 <- mu[1] + covX
> ##
> ## Simulate ARMA processes. Here, the drift for 'tsd3' depends on covX.
> ##
> tsdata <- data.frame(TS1 = mu[1] + arima.sim(model = list(ar = theta, ma = phi,
+ order = c(2, 1, 2)), n = nn, sd = sdWNN ),
+ TS2 = mu[2] + arima.sim(model = list(ar = theta, ma = phi,
+ order = c(2, 1, 2)), n = nn, sd = exp(2 + covX)),
+ TS3 = mux3 + arima.sim(model = list(ar = theta, ma = phi,
+ order = c(2, 1, 2)), n = nn, sd = exp(2 + covX) ),
+ x2 = covX)
>
> ### EXAMPLE 1. Fitting a simple ARIMA(2, 1, 2) using vglm().
> # Note that no covariates involved.
> fit.ARIMA1 <- vglm(TS1 ~ 1, ARIMAXff(order = c(2, 1, 2), var.arg = FALSE,
+ # OPTIONAL INITIAL VALUES
+ # idrift = c(1.5)*(1 - sum(theta)),
+ # ivar = exp(4), isd = exp(2),
+ # iARcoeff = c(0.20, -0.3, 0.1),
+ # iMAcoeff = c(0.25, 0.35, 0.1),
+ type.EIM = "exact"),
+ data = tsdata, trace = TRUE, crit = "log")
Error in `[.default`(y, , ii, drop = FALSE) :
incorrect number of dimensions
Calls: vglm -> eval -> eval -> [ -> [.ts -> NextMethod
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.