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

2024-08-03 Thread Deepayan Sarkar
I haven't thought about this carefully, but shouldn't this mostly work? sort_by.est_table <- function(x, y = c("op", "lhs", "rhs"), object = x, by = y, op_priority = c("=~", "~", "~~", ":=", "~1", "|", "~*~"), number_rows = TRUE, ...) { } -Deepayan On Sat, 3 Aug 2024 at 00:1

Re: [R-pkg-devel] vignette with "Run Examples"

2023-12-11 Thread Deepayan Sarkar
On Tue, 12 Dec 2023 at 12:54, Sigbert Klinke wrote: > Hi, > > is it possible to get a button or link to run an example in a vignette > like we see for the examples in the R help? > Just to understand your expectations: The 'run examples' option only works within the "dynamic" R help system, beca

Re: [R-pkg-devel] Recent dev version of R CMD check fails when a package function named X also has a parameter named X

2023-10-30 Thread Deepayan Sarkar
On Mon, 30 Oct 2023 at 12:48, Markus Jochim wrote: > > Hi R people, > > I am the maintainer of the emuR package and I am having a problem with > recent versions of R CMD check. > > CRAN‘s r-devel test suites [1] have started to emit a NOTE about the > HTML version of the manual: > > > Version: 2.4

Re: [R-pkg-devel] Is there a better way ...?

2021-10-21 Thread Deepayan Sarkar
On Thu, Oct 21, 2021 at 12:15 PM Rolf Turner wrote: > > > On Thu, 21 Oct 2021 02:03:41 -0400 > Duncan Murdoch wrote: > > > On 21/10/2021 12:40 a.m., Andrew Simmons wrote: > > > I think the simplest answer is to store the variable in the > > > functions frame. I'm assuming here that the only plot.

Re: [R-pkg-devel] Is there a better way ...?

2021-10-20 Thread Deepayan Sarkar
On Thu, Oct 21, 2021 at 9:59 AM Rolf Turner wrote: > > > I have a plot method (say plot.foo()) that I want to be able to call so > that if argument "add" is set equal to TRUE, then further structure will > be added to the same plot. This is to be used *only* in the context in > which the plot bei

Re: [R-pkg-devel] Redirect error in .Rd file

2021-05-26 Thread Deepayan Sarkar
On Wed, May 26, 2021 at 2:23 AM Lenth, Russell V wrote: > > Hello package developers, > > I just upgraded to R version 4.1.0, and now get a new error when I re-build > my package. Among the messages about converting help files, I now get: > > ... > update.emmGrid