search for: rdpack

Displaying 5 results from an estimated 5 matches for "rdpack".

2023 Nov 07
1
False positives in check for lost braces (in tools::checkRd())
This is a known issue already reported to the Rdpack maintainer. In some cases, the Rd code generated by Rdpack's macros contains unnecessary braces that trigger the check note because they match the pattern "text{text}" that detects common mistakes like "code{x}" (missing an escape for the macro name). Rdpack's fork...
2023 Nov 07
2
False positives in check for lost braces (in tools::checkRd())
...at a check for lost braces in Rd files (which is enabled in the current r-devel when checking with the '--as-cran' option) seems to return false positives. More specifically, a 'Lost braces' NOTE is issued (at least sometimes) when using the \insertRef{...}{...} command from the Rdpack package. Since the corresponding changes in r-devel seem to be quite recent (apparently as of r85196), I hope this sketchy report is sufficient to track down the problem. If not, I will try to create a reproducible example. Best regards and many thanks, Martin -- apl. Prof. Dr. Martin Becker...
2023 Nov 07
1
False positives in check for lost braces (in tools::checkRd())
On Tue, 7 Nov 2023 17:13:05 +0100 Martin Becker <martin.becker at mx.uni-saarland.de> wrote: > More specifically, a 'Lost braces' NOTE is issued (at least > sometimes) when using the \insertRef{...}{...} command from the > Rdpack package. Does anything change if you use the development version of Rdpack (not currently on CRAN)? Apparently, the latest commit performs some changes to fix the "lost braces" note: https://github.com/GeoBosh/Rdpack/commit/569ee0515fce00eac98ef45e642b805cb473ce1c -- Best regards, Ivan
2018 Feb 01
1
Best practices in developing package: From a single file
...ble with and the one-stop solution provided by devtools is difficult to beat. This may also vary across projects. I use EMACS/ESS with and without roxygen2. In some cases EMACS/ESS+Org mode provides stunning benefits. Updating "usage" statements in Rd files was mentioned several times. Rdpack::reprompt() does this and more for functions, methods and classes. Georgi Boshnakov ------------------------------ Date: Wed, 31 Jan 2018 07:53:18 -0800 From: Michael Lawrence <lawrence.michael at gene.com> To: Duncan Murdoch <murdoch.duncan at gmail.com> Cc: "Brian G. Peterson...
2018 Feb 01
3
Best practices in developing package: From a single file
On Thu, Feb 1, 2018 at 5:24 AM, Lionel Henry <lionel at rstudio.com> wrote: > On 31 janv. 2018, at 09:08, Gabriel Becker <gmbecker at ucdavis.edu> wrote: > > > it *actively discourages* the bits it doesn't directly support. > > It may be discouraging to include Rd syntax in roxygen docs but only > because the LaTeX-like syntax of Rd is burdensome, not because