This update is in response to an email from Kurt Hornik on 19 August 2023 about a change in Rmarkdown with @docType no longer automatically adding an \alias in the package help file. I have fixed this using the "_PACKAGE" sentinal. In addition, I have taken the opportunity to correct numerous small typos, clarify the usage of some of the more complex functions, and add usage instructions to the six 'chapter#' functions.
Local Checks
Duration: 30.8s
0 errors ✔ | 0 warnings ✔ | 0 notes ✔
Duration: 1m 33s
0 errors ✔ | 0 warnings ✔ | 0 notes ✔
with the rhub checks, both reported a Note:
This initially occurred in my local checks until I installed Rtools 4.3, after which it disappeared. I concluded this is not something I can amend of fix and hence, continued with my submission. This not did not occur in the other test arrangements.
This package complements the book 'Using R for Modelling and Quantitative Methods in Fisheries', which is in the 'Using R' series by CRC Press/Chapman & Hall. It was formally published in 2021.
The original submission raised two issues that needed explanation, I repeat those explanations here, just in case:
There are three functions (parset, plot1, and plotprep) whose objective is explicitly to alter the 'par' settings because they aim to facilitate the use of base graphics functions. These functions return, invisibly, the result of 'oldpar=par(no.readonly=TRUE)' to enable the user to revert their settings should they desire that. The examples, for each function, demonstrate how this can be done.
The ch_chunks.R file contains seven functions whose only purpose is to provide detailed worked examples within the help pages for each chapter, so the commenting of code is deliberate. These are more realistic examples rather than just tests and are present to illustrate how the R functions operate when multiple replicates (1000+) or other time-consuming actions are included. In particular, these enable worked examples of some of the more computer-intensive methods to be presented that would grossly breach the time-limits on examples (hence the \dontrun{} options on all the ch_chunks.R function examples).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.