Re: [R-pkg-devel] Mysterious "invalid z limit"

2023-01-09 Thread Kevin R. Coombes
Did you have to split the packages to get the CI/CD tools to work? Because,to me, it looks as though I can install multiple different R packages from the same git project, using something like library(devtools) install_gitlab("krcoombes/[PROJECT]", "pkg/[PACKAGE]") Best,   Kevin On 1/8/2023

Re: [R-pkg-devel] Mysterious "invalid z limit"

2023-01-09 Thread William Becker
Thanks for mentioning the possibility to opt out of the CMD checks on GitHub actions, which I didn't know about before. I also have GHA set up and I like the concept of automated testing, but one thing that bothers me is that sometimes I make a small but necessary commit (e.g. to fix a bug) and

Re: [R-pkg-devel] Mysterious "invalid z limit"

2023-01-08 Thread Ben Bolker
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

Re: [R-pkg-devel] Mysterious "invalid z limit"

2023-01-08 Thread Spencer Graves
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

Re: [R-pkg-devel] Mysterious "invalid z limit"

2023-01-08 Thread Kevin Coombes
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

Re: [R-pkg-devel] Mysterious "invalid z limit"

2023-01-08 Thread Spencer Graves
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

Re: [R-pkg-devel] Mysterious "invalid z limit"

2023-01-08 Thread Kevin R. Coombes
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

Re: [R-pkg-devel] Mysterious "invalid z limit"

2023-01-08 Thread Kevin R. Coombes
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

Re: [R-pkg-devel] Mysterious "invalid z limit"

2023-01-08 Thread Ivan Krylov
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

Re: [R-pkg-devel] Mysterious "invalid z limit"

2023-01-08 Thread Georgi Boshnakov
opment Subject: Re: [R-pkg-devel] Mysterious "invalid z limit" 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 [mypackagedir

Re: [R-pkg-devel] Mysterious "invalid z limit"

2023-01-08 Thread Duncan Murdoch
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

[R-pkg-devel] Mysterious "invalid z limit"

2023-01-07 Thread Kevin R. Coombes
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 diagnostics: invalid z limits If I run the same