diff --git a/CITATION.cff b/CITATION.cff index 29f2d52f..4fabbcee 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -1,10 +1,10 @@ cff-version: 1.2.0 -message: "Matthew P Hamilton (2024). ready4: Develop and Use Modular Health Economic Models. Version 0.1.10.9005. Zenodo. https://doi.org/10.5281/zenodo.5606250" +message: "Matthew P Hamilton (2024). ready4: Develop and Use Modular Health Economic Models. Version 0.1.11. Zenodo. https://doi.org/10.5281/zenodo.5606250" authors: - family-names: "Hamilton" given-names: "Matthew P" title: "ready4: Develop and Use Modular Health Economic Models" -version: 0.1.10.9005 +version: 0.1.11 doi: 10.5281/zenodo.5606250 date-released: 2024-07-04 url: "https://ready4-dev.github.io/ready4/" diff --git a/NEWS.md b/NEWS.md index fa5e9501..f76c1531 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,5 @@ # ready4 0.1.11 +This patch introduces the get_gracefully() function to address a CRAN policy violation and to ensure that unsuccessful attempts at retrieving internet resources fail gracefully. # ready4 0.1.10 This patch fixes a documentation error under which the description of many functions referred to the wrong function. diff --git a/cran-comments.md b/cran-comments.md index 491140cc..715fe5e3 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -12,22 +12,15 @@ There were no ERRORs or WARNINGs. There was 1 NOTE (on Local Windows and winbuilder) relating to this being a new submission. -1. One NOTE related to this being a new submission. -``` - New submission - -``` --- -This version addresses the following issues flagged by a previous CRAN reviewer: - -- a call to the cat function in make_prompt has been replaced to a call to the message function to enable users to suppress messages to console; +This version addresses the following CRAN policy violation: -- the reference to an arXiv pre-print in the DESCRIPTION file has been updated to adopt the format .; and +- 'Packages which use Internet resources should fail gracefully with an informative message if the resource is not available or has changed (and not give a check warning nor error)'. -- four functions that were imported from other packages have value tags added to their .Rd files. +To address this issue, this version introduces the get_gracefully() function and deploys it within functions that seek to retrieve internet resources. diff --git a/data-raw/CRAN_PREP.R b/data-raw/CRAN_PREP.R index 9befb9c7..b8989480 100644 --- a/data-raw/CRAN_PREP.R +++ b/data-raw/CRAN_PREP.R @@ -32,7 +32,7 @@ spelling::spell_check_package() # check on other distributions # _rhub -rhub::rhub_check() +rhub::rhub_check() #3,4,13 # devtools::check_rhub() # rhub::check_on_windows(check_args = "--force-multiarch") # rhub::check_on_fedora()