From aabf0508eec9a68888a9ee5918d33a49e301f9b9 Mon Sep 17 00:00:00 2001 From: elimillera Date: Mon, 28 Aug 2023 13:39:25 +0000 Subject: [PATCH] Updates to fix cran issues identified in #311 --- DESCRIPTION | 2 +- NEWS.md | 4 +++ R/{riskmetric.R => riskmetric-package.R} | 2 +- cran-comments.md | 2 +- man/riskmetric.Rd | 33 +++++++++++++++++++++++- 5 files changed, 39 insertions(+), 4 deletions(-) rename R/{riskmetric.R => riskmetric-package.R} (95%) diff --git a/DESCRIPTION b/DESCRIPTION index 78e07c0c..bd73b525 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -3,7 +3,7 @@ Type: Package Title: Risk Metrics to Evaluating R Packages Description: Facilities for assessing R packages against a number of metrics to help quantify their robustness. -Version: 0.2.2 +Version: 0.2.3 Authors@R: c( person("R Validation Hub", role = c("aut"), email = "psi.aims.r.validation@gmail.com"), person("Doug", "Kelkhoff", role = c("aut"), email = "doug.kelkhoff@gmail.com"), diff --git a/NEWS.md b/NEWS.md index b78d3b53..04976a8b 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,7 @@ +# riskmetric 0.2.3 + +- Fix issue with CRAN package documentation flags. (#311) + # riskmetric 0.2.2 - Fix bug with reporting number of downloads. diff --git a/R/riskmetric.R b/R/riskmetric-package.R similarity index 95% rename from R/riskmetric.R rename to R/riskmetric-package.R index ece464f4..81d9680c 100644 --- a/R/riskmetric.R +++ b/R/riskmetric-package.R @@ -8,7 +8,7 @@ #' @docType package #' @name riskmetric #' @keywords internal -NULL +"_PACKAGE" diff --git a/cran-comments.md b/cran-comments.md index 0047f5a0..54b4e964 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -1,7 +1,7 @@ ## riskmetric 0.2.2 - Bug fixes -- Fixes issue with S3 method consistancy. +- Fixes issue with S3 method consistency. Tested on Ubuntu Jammy, GitHub Action, and RHub. diff --git a/man/riskmetric.Rd b/man/riskmetric.Rd index b72fc9c2..87bcdb8f 100644 --- a/man/riskmetric.Rd +++ b/man/riskmetric.Rd @@ -1,11 +1,42 @@ % Generated by roxygen2: do not edit by hand -% Please edit documentation in R/riskmetric.R +% Please edit documentation in R/riskmetric-package.R \docType{package} \name{riskmetric} \alias{riskmetric} +\alias{riskmetric-package} \title{riskmetric} \description{ Facilities for assessing R packages against a number of metrics to help quantify their robustness. +} +\seealso{ +Useful links: +\itemize{ + \item \url{https://pharmar.github.io/riskmetric/} + \item \url{https://github.com/pharmaR/riskmetric} + \item Report bugs at \url{https://github.com/pharmaR/riskmetric/issues} +} + +} +\author{ +\strong{Maintainer}: Eli Miller \email{eli.miller@atorusresearch.com} + +Authors: +\itemize{ + \item R Validation Hub \email{psi.aims.r.validation@gmail.com} + \item Doug Kelkhoff \email{doug.kelkhoff@gmail.com} + \item Marly Gotti + \item Kevin K + \item Yilong Zhang + \item Eric Milliman + \item Juliane Manitz +} + +Other contributors: +\itemize{ + \item Mark Padgham [contributor] + \item PSI special interest group Application and Implementation of Methodologies in Statistics [copyright holder] +} + } \keyword{internal}