Skip to content

Commit

Permalink
chore: Prepare for CRAN release
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorld committed Jul 20, 2022
1 parent b56f339 commit 18fca95
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 21 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Encoding: UTF-8
Package: optparse
Type: Package
Title: Command Line Option Parser
Version: 1.7.2-2
Version: 1.7.3
Authors@R: c(person("Trevor L", "Davis", role=c("aut", "cre"),
email="[email protected]",
comment = c(ORCID = "0000-0001-6341-4639")),
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
optparse 1.7.2
optparse 1.7.3
==============

* The errors raised by `parse_args()` (and `parse_args2()`) are now of class "optparse\_parse\_error".
Expand Down
24 changes: 5 additions & 19 deletions cran-comments.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
**Test environments**

* local (linux), R 4.1.1
* local (linux), R 4.2.1
* win-builder (windows), R devel
* Github Actions (linux), R devel and R release
* Github Actions (OSX), R release
Expand All @@ -12,29 +12,15 @@ Status: OK

**revdepcheck results**

We checked 14 reverse dependencies (7 from CRAN + 7 from Bioconductor), comparing R CMD check results across CRAN and dev versions of this package.

We checked 13 reverse dependencies (3 from CRAN + 10 from Bioconductor), comparing R CMD check results across CRAN and dev versions of this package.

* We saw 0 new problems
* We failed to check 0 packages

**Nota benes**

* Currently CRAN checks on the two OSX test machines for the previous release
of ``optparse`` show a WARNING because they are unable to re-build the
vignette due to a weird error::
sh: +RTS: command not found
Warning in system(command) : error in running command
Error: processing vignette 'optparse.Rrst' failed with diagnostics:
pandoc document conversion failed with error 127
Execution halted

Looking online it seems ``error 127`` is an issue with a virtual machine not
having enough memory. Perhaps ``--no-vignettes`` flag should be turned on
for OSX test machines? I am unable to reproduce this error in my Github Actions
OSX test environment (i.e. the vignette always builds fine).

* As in previous uploads while in a non-interactive session (i.e. in an
Rscript) if `parse_args` observes a help flag it will print a usage
message and then call ``quit`` unless the argument ``print_help_and_exit``
Rscript) if `parse_args()` observes a help flag it will print a usage
message and then call ``quit()`` unless the argument ``print_help_and_exit``
has been set ``FALSE``.

0 comments on commit 18fca95

Please sign in to comment.