From a115b2b95de1fa8608eef671687dec678cda7feb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Altfeld?= Date: Fri, 21 May 2021 02:28:37 +0200 Subject: [PATCH] Fix CRAN precheck finding (redirected URL to RStudio). Increment version number to 1.2.4 for re-submission --- DESCRIPTION | 2 +- NEWS.md | 9 ++++++++- README.md | 3 +++ vignettes/10_standard_R_conditions.Rmd_child | 2 +- vignettes/README_FIRST.txt | 1 + 5 files changed, 14 insertions(+), 3 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 26d2864..c5de43f 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: tryCatchLog Title: Advanced 'tryCatch()' and 'try()' Functions -Version: 1.2.3 +Version: 1.2.4 Authors@R: c( person("Juergen", "Altfeld", email = "jaltfeld@altfeld-im.de", role = c("aut", "cre", "cph")), person("Charles", "Epaillard", email = "charles.epaillard@gmail.com", role = "ctb"), diff --git a/NEWS.md b/NEWS.md index 23cfa44..55e4a3b 100644 --- a/NEWS.md +++ b/NEWS.md @@ -5,7 +5,14 @@ For the conventions for files NEWS and ChangeLog in the GNU project see https://www.gnu.org/prep/standards/standards.html#Documentation --> -## Version 1.2.3 (May 16, 2021) for CRAN +## Version 1.2.4 (May 21, 2021) for CRAN + +* Fix redirected links found by CRAN precheck: + * Found the following (possibly) invalid URLs: + URL: https://rstudio.com/products/rstudio/ (moved to https://www.rstudio.com/products/rstudio/) + From: inst/doc/tryCatchLog-intro.html + +## Version 1.2.3 (May 16, 2021) - submitted at CRAN but rejected * Fix bug #64: Unit tests fail on R-devel (test_build_log_entry.R and test_build_log_output). Many thanks to Brodie Gaslam to find and help fixing this bug! diff --git a/README.md b/README.md index f579760..bc18e3a 100644 --- a/README.md +++ b/README.md @@ -728,6 +728,9 @@ Further links: * Build source package and upload the release candiate (*tar.gz file) at win-builder to check for errors. (see instructions: https://win-builder.r-project.org/). There is an [upload page](https://win-builder.r-project.org/upload.aspx) for R-release, R-devel and R-oldrelease. * Finally upload the release candiate file to CRAN via their submission page: https://cran.r-project.org/submit.html +* Re-submission is done in the same way as submission, using the ‘Optional comment’ field on the web form to explain how the feedback on previous submission(s) has been addressed. +* Updates to previously-published packages must have an increased version. + Increasing the version number at each submission reduces confusion so is preferred even when a previous submission was not accepted. ### How to build the package using R-devel (development version of R) diff --git a/vignettes/10_standard_R_conditions.Rmd_child b/vignettes/10_standard_R_conditions.Rmd_child index 867d73e..6e95796 100644 --- a/vignettes/10_standard_R_conditions.Rmd_child +++ b/vignettes/10_standard_R_conditions.Rmd_child @@ -319,7 +319,7 @@ See the next chapters for possible work-arounds... ## Interactive debugging -You can run and debug your R script interactively in the *RGui* or [RStudio](https://rstudio.com/products/rstudio/) +You can run and debug your R script interactively in the *RGui* or [RStudio](https://www.rstudio.com/products/rstudio/) instead of condition handling with `tryCatch`. For more details on interactive debugging see `?debug`. diff --git a/vignettes/README_FIRST.txt b/vignettes/README_FIRST.txt index 7c790e0..40bc538 100644 --- a/vignettes/README_FIRST.txt +++ b/vignettes/README_FIRST.txt @@ -8,6 +8,7 @@ As a workaround I had to that has a pattern to match all child file names (this file is NOT shown in RStudio since it starts with a dot - any workaround for that?) 3. added empty dummy files to the "inst/doc" folder for each child Rmd file. + Update May 21, 2021: I cannot find an inst folder in git. Is this step deprecated due to the use of .install_extras? This avoids 1. failures to build the vignette due to missing child Rmd files