Skip to content

Commit e51dbeb

Browse files
committed
bug fix for CRAN submitting process
1 parent c292e00 commit e51dbeb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+23160
-2195
lines changed

DESCRIPTION

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Package: ATAforecasting
22
Type: Package
33
Title: Automatic Time Series Analysis and Forecasting using the Ata Method
4-
Version: 0.0.60
5-
Date: 2023-06-12
4+
Version: 0.0.61
5+
Date: 2025-10-29
66
Authors@R: c(
77
person("Ali Sabri", "Taylan", email="alisabritaylan@gmail.com", role=c("aut", "cre", "cph"), comment = c(ORCID = "0000-0001-9514-934X")),
88
person("Hanife", "Taylan Selamlar", role=c("aut", "cph"), comment = c(ORCID = "0000-0002-4091-884X")),
@@ -15,15 +15,15 @@ Description: The Ata method (Yapar et al. (2019) <doi:10.15672/hujms.461032>), a
1515
and seasonal). This methodology performed well on the M3 and M4-competition data. This package was written based on Ali Sabri Taylan’s PhD dissertation.
1616
Maintainer: Ali Sabri Taylan <alisabritaylan@gmail.com>
1717
License: GPL (>= 3)
18-
URL: https://github.com/alsabtay/ATAforecasting, https://atamethod.wordpress.com/
18+
URL: https://alsabtay.github.io/ATAforecasting, https://github.com/alsabtay/ATAforecasting, https://atamethod.wordpress.com/
1919
BugReports: https://github.com/alsabtay/ATAforecasting/issues
2020
Depends: R (>= 4.1)
2121
Imports: graphics, forecast, Rcpp, Rdpack, seasonal, stats, stlplus,
2222
stR, timeSeries, TSA, tseries, utils, xts
2323
LinkingTo: Rcpp, RcppArmadillo
2424
Encoding: UTF-8
2525
LazyData: TRUE
26-
RoxygenNote: 7.2.3
26+
RoxygenNote: 7.3.3
2727
RdMacros: Rdpack
2828
NeedsCompilation: yes
2929
Author: Ali Sabri Taylan [aut, cre, cph]

R/ATA.R

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
#' This methodology performed well on the M3 and M4-competition data.
1111
#' Returns ATA(p,q,phi) (E,T,S) applied to the data.
1212
#'
13-
#' @docType package
13+
#' @keywords internal
14+
"_PACKAGE"
1415
#'
1516
#' @name ATAforecasting-package
1617
#'
@@ -284,7 +285,7 @@ ATA <- function(X, Y = NULL,
284285
if (!is.null(seasonal.period)){
285286
find.period <- 0
286287
s.frequency <- seasonal.period
287-
X <- forecast::msts(X, seasonal.periods = seasonal.period)
288+
X <- forecast::msts(X, start= start(X) , seasonal.periods = seasonal.period)
288289
}else{
289290
if (is.null(find.period)){
290291
find.period <- 0
@@ -295,7 +296,7 @@ ATA <- function(X, Y = NULL,
295296
if (any(X_msts >= X_len / 2)) {
296297
warning("Dropping seasonal components with fewer than two full periods.")
297298
X_msts <- X_msts[X_msts < X_len / 2]
298-
X <- forecast::msts(X, seasonal.periods = X_msts)
299+
X <- forecast::msts(X, start= start(X) , seasonal.periods = X_msts)
299300
}
300301
s.frequency <- seasonal.period <- sort(X_msts, decreasing = FALSE)
301302
}else if ("ts" %in% class(X)) {

R/ATA_BoxCoxAttributes.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#'
1313
#' @author Ali Sabri Taylan and Hanife Taylan Selamlar
1414
#'
15-
#' @seealso \code{\link{BoxCox}}, \code{\link{InvBoxCox}}, \code{\link{BoxCox.lambda}}
15+
#' @seealso \code{\link[forecast]{BoxCox}}, \code{\link[forecast]{InvBoxCox}}, \code{\link[forecast]{BoxCox.lambda}}
1616
#'
1717
#' @references
1818
#'

R/ATA_Decomposition.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#'
3131
#' @author Ali Sabri Taylan and Hanife Taylan Selamlar
3232
#' @seealso \code{\link[stats]{stl}}, \code{\link[stats]{decompose}}, \code{\link[seasonal]{seas}},
33-
#' \code{\link[forecast]{tbats}}, \code{\link{stlplus}}, \code{\link[stR]{AutoSTR}}.
33+
#' \code{\link[forecast]{tbats}}, \code{\link[stlplus]{stlplus}}, \code{\link[stR]{AutoSTR}}.
3434
#'
3535
#' @keywords Ata seasonal decomposition forecast accuracy ts msts mstl
3636
#'

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ATAforecasting <img src="man/figures/logo.png" align="right" />
1+
# ATAforecasting <img src="man/figures/logo.png" align="right" alt="ATAforecasting logo" />
22

33
[![CRAN](https://www.r-pkg.org/badges/version/ATAforecasting)](https://cran.r-project.org/package=ATAforecasting)
44
[![Downloads](https://cranlogs.r-pkg.org/badges/ATAforecasting)](https://cran.r-project.org/package=ATAforecasting)

_pkgdown.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
11
destination: docs
2+
template:
3+
bootstrap: 5
4+
5+
6+
url: https://alsabtay.github.io/ATAforecasting/

docs/404.html

Lines changed: 47 additions & 74 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)