[Dplr-commits] r1092 - in pkg/dplR: . vignettes
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sat Apr 7 21:14:57 CEST 2018
Author: mvkorpel
Date: 2018-04-07 21:14:57 +0200 (Sat, 07 Apr 2018)
New Revision: 1092
Modified:
pkg/dplR/ChangeLog
pkg/dplR/DESCRIPTION
pkg/dplR/vignettes/timeseries-dplR.Rnw
Log:
Dependency tweaks
Modified: pkg/dplR/ChangeLog
===================================================================
--- pkg/dplR/ChangeLog 2018-04-07 00:43:01 UTC (rev 1091)
+++ pkg/dplR/ChangeLog 2018-04-07 19:14:57 UTC (rev 1092)
@@ -2,6 +2,13 @@
- Note that Darwin Alexander Pucha Cofrep has been added as a developer to work on plotRings() etc.
+File: DESCRIPTION
+----------------
+
+- Fixing the version requirement for "animation" (>= 2.0-2)
+- Fixing the version requirement for "R.utils" (>= 1.32.1)
+- Introducing version requirement (>= 3.6) for suggested package "forecast"
+
File: csv2rwl.R
----------------
Adding new function to read csv files in as rwl objects. Also adding that capability into read.rwl. Mikko should see if the error checks etc pass muster.
Modified: pkg/dplR/DESCRIPTION
===================================================================
--- pkg/dplR/DESCRIPTION 2018-04-07 00:43:01 UTC (rev 1091)
+++ pkg/dplR/DESCRIPTION 2018-04-07 19:14:57 UTC (rev 1092)
@@ -3,7 +3,7 @@
Type: Package
Title: Dendrochronology Program Library in R
Version: 1.6.8
-Date: 2018-04-05
+Date: 2018-04-07
Authors at R: c(person("Andy", "Bunn", role = c("aut", "cph",
"cre", "trl"), email = "andy.bunn at wwu.edu"), person("Mikko",
"Korpela", role = c("aut", "cph", "trl")), person("Franco", "Biondi",
@@ -22,11 +22,11 @@
Depends: R (>= 2.15.2)
Imports: graphics, grDevices, grid, stats, utils, lattice (>= 0.13-6),
Matrix (>= 1.0-3), digest (>= 0.2.3), matrixStats (>= 0.50.2),
- png (>= 0.1-2), R.utils (>= 1.32.0), stringi (>= 0.2-3),
- stringr (>= 0.4), XML (>= 2.1-0), plyr (>= 1.8),
- animation (>= 1.8)
+ png (>= 0.1-2), R.utils (>= 1.32.1), stringi (>= 0.2-3),
+ stringr (>= 0.4), XML (>= 2.1-0), plyr (>= 1.8),
+ animation (>= 2.0-2)
Suggests: Biobase, Cairo (>= 1.5-0), dichromat (>= 1.2-3), foreach,
- forecast, gmp (>= 0.5-5), iterators, knitr, RColorBrewer,
+ forecast (>= 3.6), gmp (>= 0.5-5), iterators, knitr, RColorBrewer,
testthat (>= 0.8), tikzDevice, waveslim
Description: Perform tree-ring analyses such as detrending, chronology
building, and cross dating. Read and write standard file formats
Modified: pkg/dplR/vignettes/timeseries-dplR.Rnw
===================================================================
--- pkg/dplR/vignettes/timeseries-dplR.Rnw 2018-04-07 00:43:01 UTC (rev 1091)
+++ pkg/dplR/vignettes/timeseries-dplR.Rnw 2018-04-07 19:14:57 UTC (rev 1092)
@@ -159,13 +159,15 @@
\newif\ifforecastUsable% Define boolean variable
<<echo=FALSE,results=tex>>=
## Test if forecast can be loaded
-if (require("forecast", character.only = TRUE)) {
+if (require("forecast", character.only = TRUE) &&
+ packageVersion("forecast") >= "3.6") {
cat("\\forecastUsabletrue\n\n")# output to LaTeX
}
@
\ifforecastUsable% Conditional: If "forecast" is available
<<>>=
-if (require("forecast", character.only = TRUE)) {
+if (require("forecast", character.only = TRUE) &&
+ packageVersion("forecast") >= "3.6") {
dat.arima <- auto.arima(dat, ic="bic")
summary(dat.arima)
head(residuals(dat.arima))
@@ -179,7 +181,7 @@
(just the first few), model coefficients, etc. quite easily. And indeed the
residuals are quite clean as we would expect.
\else% If "forecast" is not available
-An example was dropped because \code{"forecast"} is not available.
+An example was dropped because \code{"forecast"} ($\geq 3.6$) is not available.
\fi% End of conditional
\section{Frequency Domain}
There is, at times, an almost manic desire to better characterize the
More information about the Dplr-commits
mailing list