From 368f05bcac2bc89ab518029976d9f34f01ee983c Mon Sep 17 00:00:00 2001 From: Reinhold Kainhofer <reinhold@kainhofer.com> Date: Fri, 30 Mar 2018 14:26:46 +0000 Subject: [PATCH] Make Package checker happy => Submit to CRAN --- DESCRIPTION | 2 +- MortalityTables.Rproj | 6 +++--- R/mortalityTable.Weibull.R | 2 +- man/mortalityTable.Weibull-class.Rd | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index d37725b..6d7e72b 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: MortalityTables Type: Package Version: 1.0 -Date: 2016-09-01 +Date: 2018-03-30 Title: A Framework for Various Types of Mortality / Life Tables Authors@R: c(person("Reinhold", "Kainhofer", role=c("aut", "cre"), email="reinhold@kainhofer.com")) Author: Reinhold Kainhofer [aut, cre] diff --git a/MortalityTables.Rproj b/MortalityTables.Rproj index 00967da..ff48a22 100644 --- a/MortalityTables.Rproj +++ b/MortalityTables.Rproj @@ -1,8 +1,8 @@ Version: 1.0 -RestoreWorkspace: Default -SaveWorkspace: Default -AlwaysSaveHistory: Default +RestoreWorkspace: Yes +SaveWorkspace: Yes +AlwaysSaveHistory: Yes EnableCodeIndexing: Yes UseSpacesForTab: Yes diff --git a/R/mortalityTable.Weibull.R b/R/mortalityTable.Weibull.R index 44fd065..03615d3 100644 --- a/R/mortalityTable.Weibull.R +++ b/R/mortalityTable.Weibull.R @@ -4,7 +4,7 @@ NULL #' Class mortalityTable.Weibull - Mortality table with Weibull's law #' #' A period life table following Weibulls's law of a mortality rate -#' \eqn{\mu} increasing as a power of \eqn{t}: \deqn{\mu_{x+t} = k * (x+t)^n$} +#' \eqn{\mu} increasing as a power of \eqn{t}: \deqn{\mu_{x+t} = k * (x+t)^n} #' The only required slots are the parameters \eqn{k>0} and \eqn{n>0}, all probabilities #' are calculated from them, for technical reasons a maximum age of 150 is #' technically assumed. Optionally, a name and loading can be passed diff --git a/man/mortalityTable.Weibull-class.Rd b/man/mortalityTable.Weibull-class.Rd index af6953b..679b9e7 100644 --- a/man/mortalityTable.Weibull-class.Rd +++ b/man/mortalityTable.Weibull-class.Rd @@ -7,7 +7,7 @@ \title{Class mortalityTable.Weibull - Mortality table with Weibull's law} \description{ A period life table following Weibulls's law of a mortality rate -\eqn{\mu} increasing as a power of \eqn{t}: \deqn{\mu_{x+t} = k * (x+t)^n$} +\eqn{\mu} increasing as a power of \eqn{t}: \deqn{\mu_{x+t} = k * (x+t)^n} The only required slots are the parameters \eqn{k>0} and \eqn{n>0}, all probabilities are calculated from them, for technical reasons a maximum age of 150 is technically assumed. Optionally, a name and loading can be passed -- GitLab