Hello all, I am running R version 4.4.2 (2024-10-31 ucrt) on Windows 10 x64, and noticed something that might be a minor bug (or at least inconsistent code) in the stats/arima.R package. I have found: 1. A missing stop() call at line 69: if (length(order) == 3) seasonal <- list(order = seasonal) else ("\'seasonal\' is of the wrong length") it should be rather: if (length(order) == 3) seasonal <- list(order = seasonal) else stop("\'seasonal\' is of the wrong length")
2. An unused 'mod' variable assignment at line 190: mod <- makeARIMA(trarma[[1]], trarma[[2]], Delta, kappa, SSinit) I am trying to confirm whether this is intended behavior or possibly an overlooked detail. Could someone please clarify if the current logic is correct? Thank you. Best regards, Norbert Kuder [[alternative HTML version deleted]] ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel