From 4c48aaf1218b726adea9225857581993741245ac Mon Sep 17 00:00:00 2001 From: Andres Villegas Date: Wed, 10 Feb 2016 03:28:22 +1100 Subject: [PATCH] Prepare new release --- DESCRIPTION | 2 +- NAMESPACE | 1 + NEWS.md | 6 ++++-- R/docStMoMo.R | 1 + cran-comments.md | 9 +++++++-- 5 files changed, 14 insertions(+), 5 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index dfc1de7..621680d 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: StMoMo Title: Stochastic Mortality Modelling -Version: 0.3.0.9000 +Version: 0.3.1 Author: Andres Villegas , Pietro Millossovich , Vladimir Kaishev diff --git a/NAMESPACE b/NAMESPACE index 2dd54ee..eb65c52 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -48,6 +48,7 @@ importFrom(graphics,image.default) importFrom(graphics,lines) importFrom(graphics,par) importFrom(graphics,plot) +importFrom(methods,hasArg) importFrom(rootSolve,multiroot) importFrom(stats,aggregate) importFrom(stats,as.formula) diff --git a/NEWS.md b/NEWS.md index 501dada..9235333 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,14 +1,16 @@ -StMoMo v0.3.0.9000 +StMoMo v0.3.1 ---------------------------------------------------------------- * Change residual plotting function (plot.resStMoMo) to use a more effective divergent colour palette for colourmaps. * Change the default plotting limits in residual plotting function to have a symmetric scale +* Fix formatting issues in logLik, AIC and BIC functions for + models fitted with gnm StMoMo v0.3.0 ---------------------------------------------------------------- -* Add optional parameters kt.lookbacak and gc.lookback to +* Add optional parameters kt.lookback and gc.lookback to functions forecast.fitStMoMo, simulate.fitStMoMo and simulate.bootStMoMo. These new parameters allow the forecast and simulation of mortality models using only a limited history diff --git a/R/docStMoMo.R b/R/docStMoMo.R index ed9c0e7..1150b61 100644 --- a/R/docStMoMo.R +++ b/R/docStMoMo.R @@ -16,6 +16,7 @@ #' @importFrom stats rpois runif start #' @importFrom utils head tail #' @importFrom RColorBrewer brewer.pal +#' @importFrom methods hasArg NULL diff --git a/cran-comments.md b/cran-comments.md index e78efd8..6c157d7 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,6 +1,11 @@ +## Submission summary +This new release has some minor tweaks in some +plotting functions and fixes formatting +issues in a couple of printing methods. + ## Test environments -* local Windows 10 install, R 3.2.2 -* ubuntu 12.04 (on travis-ci), R 3.2.2 +* local Windows 10 install, R 3.2.3 +* ubuntu 12.04 (on travis-ci), R 3.2.3 * win-builder (devel and release) ## R CMD check results