head	1.10;
access;
symbols
	pkgsrc-2026Q2:1.9.0.2
	pkgsrc-2026Q2-base:1.9
	pkgsrc-2026Q1:1.8.0.12
	pkgsrc-2026Q1-base:1.8
	pkgsrc-2025Q4:1.8.0.10
	pkgsrc-2025Q4-base:1.8
	pkgsrc-2025Q3:1.8.0.8
	pkgsrc-2025Q3-base:1.8
	pkgsrc-2025Q2:1.8.0.6
	pkgsrc-2025Q2-base:1.8
	pkgsrc-2025Q1:1.8.0.4
	pkgsrc-2025Q1-base:1.8
	pkgsrc-2024Q4:1.8.0.2
	pkgsrc-2024Q4-base:1.8
	pkgsrc-2024Q3:1.7.0.6
	pkgsrc-2024Q3-base:1.7
	pkgsrc-2024Q2:1.7.0.4
	pkgsrc-2024Q2-base:1.7
	pkgsrc-2024Q1:1.7.0.2
	pkgsrc-2024Q1-base:1.7
	pkgsrc-2023Q4:1.6.0.6
	pkgsrc-2023Q4-base:1.6
	pkgsrc-2023Q3:1.6.0.4
	pkgsrc-2023Q3-base:1.6
	pkgsrc-2023Q2:1.6.0.2
	pkgsrc-2023Q2-base:1.6
	pkgsrc-2023Q1:1.5.0.2
	pkgsrc-2023Q1-base:1.5
	pkgsrc-2022Q4:1.4.0.28
	pkgsrc-2022Q4-base:1.4
	pkgsrc-2022Q3:1.4.0.26
	pkgsrc-2022Q3-base:1.4
	pkgsrc-2022Q2:1.4.0.24
	pkgsrc-2022Q2-base:1.4
	pkgsrc-2022Q1:1.4.0.22
	pkgsrc-2022Q1-base:1.4
	pkgsrc-2021Q4:1.4.0.20
	pkgsrc-2021Q4-base:1.4
	pkgsrc-2021Q3:1.4.0.18
	pkgsrc-2021Q3-base:1.4
	pkgsrc-2021Q2:1.4.0.16
	pkgsrc-2021Q2-base:1.4
	pkgsrc-2021Q1:1.4.0.14
	pkgsrc-2021Q1-base:1.4
	pkgsrc-2020Q4:1.4.0.12
	pkgsrc-2020Q4-base:1.4
	pkgsrc-2020Q3:1.4.0.10
	pkgsrc-2020Q3-base:1.4
	pkgsrc-2020Q2:1.4.0.8
	pkgsrc-2020Q2-base:1.4
	pkgsrc-2020Q1:1.4.0.4
	pkgsrc-2020Q1-base:1.4
	pkgsrc-2019Q4:1.4.0.6
	pkgsrc-2019Q4-base:1.4
	pkgsrc-2019Q3:1.4.0.2
	pkgsrc-2019Q3-base:1.4
	pkgsrc-2019Q2:1.2.0.8
	pkgsrc-2019Q2-base:1.2
	pkgsrc-2019Q1:1.2.0.6
	pkgsrc-2019Q1-base:1.2
	pkgsrc-2018Q4:1.2.0.4
	pkgsrc-2018Q4-base:1.2
	pkgsrc-2018Q3:1.2.0.2
	pkgsrc-2018Q3-base:1.2
	pkgsrc-2018Q2:1.1.0.4
	pkgsrc-2018Q2-base:1.1
	pkgsrc-2018Q1:1.1.0.2
	pkgsrc-2018Q1-base:1.1;
locks; strict;
comment	@# @;


1.10
date	2026.09.15.10.06.24;	author wiz;	state Exp;
branches;
next	1.9;
commitid	eK673kpVIGRlCHVG;

1.9
date	2026.06.15.14.43.47;	author mef;	state Exp;
branches;
next	1.8;
commitid	rXXXklR0jomA7UJG;

1.8
date	2024.11.02.22.00.23;	author mef;	state Exp;
branches;
next	1.7;
commitid	K1hHesYoIlJ8v7wF;

1.7
date	2024.01.26.11.20.48;	author mef;	state Exp;
branches;
next	1.6;
commitid	QsUTDXSKLicFZWVE;

1.6
date	2023.06.12.12.54.14;	author mef;	state Exp;
branches;
next	1.5;
commitid	trSoxlLcjxh2QEsE;

1.5
date	2023.01.08.03.34.41;	author wen;	state Exp;
branches;
next	1.4;
commitid	xjtHSEBKnggUIG8E;

1.4
date	2019.08.08.19.53.49;	author brook;	state Exp;
branches;
next	1.3;
commitid	K2VPfA0XCw7xfgyB;

1.3
date	2019.07.31.19.25.41;	author brook;	state Exp;
branches;
next	1.2;
commitid	Y8LKHT4bxofooexB;

1.2
date	2018.07.28.14.40.48;	author brook;	state Exp;
branches;
next	1.1;
commitid	hIRYb3oU4xMfBULA;

1.1
date	2018.03.23.16.43.28;	author minskim;	state Exp;
branches;
next	;
commitid	ZYe6BiirIpMipBvA;


desc
@@


1.10
log
@R*: remove execinfo workarounds

Not needed with R-Rcpp 1.1.2, and some of these broke e.g. macOS
@
text
@# $NetBSD: Makefile,v 1.9 2026/06/15 14:43:47 mef Exp $

R_PKGNAME=	forecast
R_PKGVER=	9.0.2

MAINTAINER=	minskim@@NetBSD.org
COMMENT=	Forecasting functions for time series and linear models
LICENSE=	gnu-gpl-v3

DEPENDS+=	R-magrittr>=1.5:../../devel/R-magrittr
DEPENDS+=	R-tseries>=0.10.47:../../finance/R-tseries
DEPENDS+=	R-colorspace>=1.4.1:../../graphics/R-colorspace
DEPENDS+=	R-ggplot2>=2.2.1:../../graphics/R-ggplot2
DEPENDS+=	R-fracdiff>=1.4.2:../../math/R-fracdiff
DEPENDS+=	R-lmtest>=0.9.37:../../math/R-lmtest
DEPENDS+=	R-urca>=1.3.0:../../math/R-urca
DEPENDS+=	R-zoo>=1.8.6:../../math/R-zoo
DEPENDS+=	R-timeDate>=3043.102:../../time/R-timeDate
DEPENDS+=	R-generics>=0.1.2:../../math/R-generics

# Packages suggested but not available:
#   'forecTheta', 'rticles', 'seasonal', 'uroot'
TEST_DEPENDS+=	R-knitr-[0-9]*:../../print/R-knitr
TEST_DEPENDS+=	R-rmarkdown-[0-9]*:../../textproc/R-rmarkdown
TEST_DEPENDS+=	R-testthat-[0-9]*:../../devel/R-testthat

USE_LANGUAGES=	c c++ fortran
GCC_REQD+=	8

.include "../../math/R/Makefile.extension"
.include "../../devel/R-Rcpp/buildlink3.mk"
.include "../../math/R-RcppArmadillo/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.9
log
@(math/R-forecast) Updated 8.23.0 to 9.0.2, Fix build against R 4.6.0

# forecast 9.0.2

* `checkresiduals()` correctly handles the `test` argument again (#1100)
* `mstl()` now correctly accesses the `lambda` attribute on mstl matrix objects (#1097)

# forecast 9.0.1

* Performance improvements for ARFIMA model search
* `forecast.mlm()` now finds `newdata` when passed as an argument from another function (#880)
* `residuals.tslm()` now allows `type = "working"` as per CRAN request
* Code modernization and performance improvements

# forecast 9.0.0
  * `ets()` now allows missing values in the time series (#952)
  * Added `mean_model()` and `forecast.mean_model()`
  * Added `rw_model()` and `forecast.rw_model()` (m-muecke, #969)
  * Added `spline_model()` and `forecast.spline_model()` (#1013)
  * Added `theta_model()` and `forecast.theta_model()` (#1014)
  * Added `croston_model()` and `forecast.croston_model()` (#1015)
  * Added simulated and bootstrapped prediction intervals to more models (#1040)
  * Added parallelization for `nnetar()` (m-muecke, #346)
  * More consistent handling of biasadj across models
  * `accuracy()` rewritten to use S3 methods for models and remove `accuracy.default()` (#912)
  * Bug fixes and performance improvements
  * Documentation improvements

# forecast 8.24.0
  * Documentation improvements
  * Bug fixes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2024/11/02 22:00:23 mef Exp $
a29 12
.include "../../mk/bsd.prefs.mk"

SUBST_CLASSES+=		pkglibs
SUBST_STAGE.pkglibs=	pre-configure
SUBST_FILES.pkglibs=	src/Makevars
SUBST_MESSAGE.pkglibs=	Add -lexecinfo for *BSD
.if ${OPSYS} != SunOS && ${OPSYS} != Linux
SUBST_SED.pkglibs=	-e s,@@@@PKG_LIBS@@@@,PKG_LIBS+=-lexecinfo,
.else
SUBST_SED.pkglibs=	-e s,@@@@PKG_LIBS@@@@,,
.endif

@


1.8
log
@(math/R-forecast) Updated 8.21 to 8.23.0

# forecast 8.23.0
  * Prevented RNG state changing when the package is attached (#954, #955).
  * head.ts and tail.ts only defined for R < 4.5.0 due to new base R functions.

# forecast 8.22.0
  * hfitted now much faster for ARIMA models (danigiro, #949)
  * hfitted now much faster for ETS models, and produces fitted values from
    initial states (#950)

# forecast 8.21.1
  * nnetar now allows p or P to be 0
  * Bug fixes and improved docs
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2024/01/26 11:20:48 mef Exp $
d4 1
a4 1
R_PKGVER=	8.23.0
d28 13
@


1.7
log
@(math/R-forecast) Updated 8.21 to 8.21.1

# forecast 8.21.1
  * nnetar now allows p or P to be 0
  * Bug fixes and improved docs
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2023/06/12 12:54:14 mef Exp $
d4 1
a4 1
R_PKGVER=	8.21.1
@


1.6
log
@(math/R-forecast) Updated 8.2.0 to 8.2.1

# forecast 8.21
  * Fixed df calculation for Ljung-Box tests in checkresiduals
  * Fixed some broken tests
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2023/01/08 03:34:41 wen Exp $
d4 1
a4 1
R_PKGVER=	8.21
d21 6
@


1.5
log
@Update to 8.20
Add missing DEPENDS

Upstream changes:
forecast 8.20 (2 January 2023)
Improvements to unit tests, and migrate to testthat 3e
Prevent failure in C23 mode
forecast 8.19 (20 November 2022)
Bug fixes
forecast 8.18 (30 September 2022)
Updated RW forecasts to use an unbiased estimate of sigma2
Bug fixes
forecast 8.17 (25 July 2022)
Updated dm.test() to add alternative variance estimators. (#898)
Added simulate.tbats() for simulating from TBATS models.
Added dependency on generics for accuracy() and forecast() (#902)
Bux fixes
forecast 8.16 (10 January 2022)
Fixed tslm() incorrectly applying Box-Cox transformations when an mts is provided to the data argument (#886).
Set D=0 when auto.arima applied to series with 2m observations or fewer.
Improved performance of parallel search of ARIMA models (jonlachmann, #891).
Fixed scoping of functions used in ggAcf() (#896).
Fixed checks on xreg in simulate.Arima() (#818)
Improved docs and bug fixes.
forecast 8.15 (1 June 2021)
Changed summary() methods to defer console output until print()
Changed default s.window values for mstl(), stlf() and stlm(). The new defaults are based on extensive empirical testing.
forecast 8.14 (11 March 2021)
Changed default BoxCox(lambda = "auto") lower bound to -0.9.
Use better variance estimates for ets() bias adjustments.
Improved robustness of autoplot.seas() for non-seasonal decomposition.
Fixed scoping of parameters in auto.arima(parallel = TRUE) (#874).
Fixed handling of xreg in tsCV().
forecast 8.13 (11 September 2020)
Fixed forecasts from Arima with drift with initial NAs.
Fixed season colours in gglagplot() to match y-axis (original data).
Fixed facet order for classical decomposition autoplot()
Fixed summary() erroring for tslm() models containing NA values.
forecast 8.12 (21 March 2020)
Fixed bias adjusted forecast mean for ARIMA forecasts.
Improved naming of accuracy() generic formals.
Fix seasonal periods for taylor dataset.
forecast 8.11 (9 February 2020)
The axis for gglagplot() have been reversed for consistency with stats::lag.plot().
forecast 8.10 (4 December 2019)
Updates to remove new CRAN errors
Bug fixes
forecast 8.9 (22 August 2019)
Updates for CRAN policies on Suggests packages
Bug fixes
forecast 8.8 (22 July 2019)
Updates for compatibility with fable
Bug fixes
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2019/08/08 19:53:49 brook Exp $
d4 1
a4 2
R_PKGVER=	8.20
CATEGORIES=	math
@


1.4
log
@Update all R packages to canonical form.

The canonical form [1] of an R package Makefile includes the
following:

- The first stanza includes R_PKGNAME, R_PKGVER, PKGREVISION (as
  needed), and CATEGORIES.

- HOMEPAGE is not present but defined in math/R/Makefile.extension to
  refer to the CRAN web page describing the package.  Other relevant
  web pages are often linked from there via the URL field.

This updates all current R packages to this form, which will make
regular updates _much_ easier, especially using pkgtools/R2pkg.

[1] http://mail-index.netbsd.org/tech-pkg/2019/08/02/msg021711.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2019/07/31 19:25:41 brook Exp $
d4 1
a4 1
R_PKGVER=	8.7
d20 1
@


1.3
log
@R-forecast: update to version 8.7.

Update to the canonical form of an R package.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2018/07/28 14:40:48 brook Exp $
d3 3
a5 1
CATEGORIES=	math R
a7 1
HOMEPAGE=	http://pkg.robjhyndman.com/forecast/
a10 3
R_PKGNAME=	forecast
R_PKGVER=	8.7

@


1.2
log
@Remove MASTER_SITES= from individual R package Makefiles.

Each R package should include ../../math/R/Makefile.extension, which also
defines MASTER_SITES.  Consequently, it is redundant for the individual
packages to do the same.  Package-specific definitions also prevent
redefining MASTER_SITES in a single common place.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2018/03/23 16:43:28 minskim Exp $
d3 1
a3 1
CATEGORIES=	math
d11 1
a11 1
R_PKGVER=	8.2
d13 9
a21 8
DEPENDS+=	R-colorspace-[0-9]*:../../graphics/R-colorspace
DEPENDS+=	R-fracdiff-[0-9]*:../../math/R-fracdiff
DEPENDS+=	R-ggplot2>=2.0.0:../../graphics/R-ggplot2
DEPENDS+=	R-lmtest-[0-9]*:../../math/R-lmtest
DEPENDS+=	R-magrittr-[0-9]*:../../devel/R-magrittr
DEPENDS+=	R-timeDate-[0-9]*:../../time/R-timeDate
DEPENDS+=	R-tseries-[0-9]*:../../finance/R-tseries
DEPENDS+=	R-zoo-[0-9]*:../../math/R-zoo
d25 1
a26 2
BUILDLINK_ABI_DEPENDS.R+=	R>=3.0.2
.include "../../math/R/Makefile.extension"
@


1.1
log
@math/R-forecast: Import version 8.2

Methods and tools for displaying and analysing univariate time series
forecasts including exponential smoothing via state space models and
automatic ARIMA modelling.
@
text
@d1 1
a1 1
# $NetBSD$
a3 1
MASTER_SITES=	${MASTER_SITE_R_CRAN:=contrib/}
@

