On 07/01/2023 8:43 p.m., Kevin R. Coombes wrote:
Hi,
I am in the middle of developing a new package, which contains a
markdown-knitr-html vignette. When I try to run
R CMD build [mypackagedirectory]
I get an error message
Quitting from lines 330-336
Error: processing vignette failed with dia
A frequent cause of such errors is that in the offending scenario a method is
not visible, so the call goes directly to the default method. This often can be
verified by temporarily printing something from your method when it gets
control.
Without more details it is difficult to be more specifi
On Sat, 7 Jan 2023 20:43:10 -0500
"Kevin R. Coombes" wrote:
> (1) How is it possible that the same code works error
> free in the RStudio contexts, but fails in the attempt to build the
> package?
When knitting the vignette from RStudio, it uses the package you
already have installed. When knit
A terrific answer; thanks. (I am kicking myself for not realizing the
answer you gave to question 1. Of course that's the explanation. Too
many consecutive hours debugging other items to get to that point, I
suppose.)
Kevin
On 1/8/2023 6:58 AM, Ivan Krylov wrote:
On Sat, 7 Jan 2023 20:43:10
A very helpful answer. For some reason (probably because I have an
ancient perl script that automates the steps i take when building and
checking packages), I keep forgetting that the "tools" package let's me
do these things from within R.
I had already isolated the offending line ("plot(obj)"
If you use GitHub, I highly recommend using "GitHub Action" as
described by Wickham and Bryan, R Packages:
https://r-pkgs.org/code.html#code-style
I'm not sure the best way to get it set up, but I have all my
packages on GitHub configured so each "push" that changes anything has
"R CM
I have been using R-Forge for many years for package development. And I
have been using GitLab for other projects almost as long.
However, over the past few months, the R-Forge support seems to be
decaying, and I now have several projects that won't currently build there
because of various items t
On 1/8/23 11:36 AM, Kevin Coombes wrote:
I have been using R-Forge for many years for package development. And I
have been using GitLab for other projects almost as long.
However, over the past few months, the R-Forge support seems to be
decaying, and I now have several projects that won't
On 2023-01-08 1:38 p.m., Spencer Graves wrote:
On 1/8/23 11:36 AM, Kevin Coombes wrote:
I have been using R-Forge for many years for package development. And
I have been using GitLab for other projects almost as long.
However, over the past few months, the R-Forge support seems to be
dec