Re: [R-pkg-devel] A function in one of my package is now a method in base R

2024-08-02 Thread Duncan Murdoch
On 2024-08-02 10:35 a.m., Shu Fai Cheung wrote: Hi All, I have a function (not a method), sort_by(), in one of my packages. A new method with the same name was introduced in the recent versions of R (4.4.0 or 4.4.1, I forgot which one), resulting in potential conflict in users' code. Certainly,

Re: [R-pkg-devel] rhub (version 2) baulking at building a vignette.

2024-08-02 Thread Dirk Eddelbuettel
On 2 August 2024 at 16:12, Ivan Krylov via R-package-devel wrote: | В Fri, 2 Aug 2024 11:10:59 + | Rolf Turner пишет: | | > The advice was to the effect that if the vignette was actually just a | > *.tex file, one could (after putting in some preparatory code, in the | > form of comments,

[R-pkg-devel] A function in one of my package is now a method in base R

2024-08-02 Thread Shu Fai Cheung
Hi All, I have a function (not a method), sort_by(), in one of my packages. A new method with the same name was introduced in the recent versions of R (4.4.0 or 4.4.1, I forgot which one), resulting in potential conflict in users' code. Certainly, users can simply use pkg_name::function_name() to

Re: [R-pkg-devel] rhub (version 2) baulking at building a vignette.

2024-08-02 Thread Ivan Krylov via R-package-devel
В Fri, 2 Aug 2024 11:10:59 + Rolf Turner пишет: > The advice was to the effect that if the vignette was actually just a > *.tex file, one could (after putting in some preparatory code, in the > form of comments, before the documentclass command) pre-process the > file (with pdflatex) and the

[R-pkg-devel] rhub (version 2) baulking at building a vignette.

2024-08-02 Thread Rolf Turner
Some time back, in the mists of memory, I got advice (on this list, I'm pretty sure) about building vignettes. The advice was to the effect that if the vignette was actually just a *.tex file, one could (after putting in some preparatory code, in the form of comments, before the documentclass com

Re: [R-pkg-devel] LaTeX errors under MacOS on CRAN

2024-08-02 Thread Uwe Ligges
A vague recollections tells me this happened when the set of packages was not fully updated. Best, Uwe LIgges On 02.08.2024 09:39, Ivan Krylov via R-package-devel wrote: В Thu, 1 Aug 2024 10:53:56 -0400 Ben Bolker пишет: ! Undefined control sequence. l.176 \hlkwd{library}\hldef

Re: [R-pkg-devel] LaTeX errors under MacOS on CRAN

2024-08-02 Thread Ivan Krylov via R-package-devel
В Thu, 1 Aug 2024 10:53:56 -0400 Ben Bolker пишет: >! Undefined control sequence. >l.176 \hlkwd{library}\hldef > {(}\hlsng{"glmmTMB"}\hldef{)} Very strange. This may be related to https://github.com/yihui/knitr/issues/2345 (no diagnosis) and possibly https: