[R-pkg-devel] Trouble with greek letter in figure title in R-devel

2023-11-14 Thread Ulrike Groemping
Dear package developers, I am struggling with an error on R devel (all flavors) that I cannot reproduce with a freshly installed R-devel on my machine: Function halfnormal in package DoE.base places the greek letter alpha in the title of a figure. I changed the code to using plotmath about a m

Re: [R-pkg-devel] Unfortunate function name generic.something

2023-05-08 Thread Ulrike Groemping
anual says "First, a caveat: a function named gen.cl will be invoked by the generic gen for class cl, so do not name functions in this style unless they are intended to be methods." So probably the best solution (even if inconvenient) is to rename levels.no to something that does

Re: [R-pkg-devel] Unfortunate function name generic.something

2023-05-08 Thread Ulrike Groemping
Am 08.05.2023 um 15:48 schrieb Duncan Murdoch: On 08/05/2023 8:28 a.m., Ulrike Groemping wrote: Thanks, Duncan. I appreciate the view that levels.no acts as an S3 method for the generic levels, if an object of class "no" is handed to it. However, as the function is not intended as an

Re: [R-pkg-devel] Unfortunate function name generic.something

2023-05-08 Thread Ulrike Groemping
s internal only, you could change the name to levels_no()? Hadley On Mon, May 8, 2023 at 7:28 AM Ulrike Groemping wrote: Thanks, Duncan. I appreciate the view that levels.no acts as an S3 method for the generic levels, if an object of class "no" is handed to it. However, as the function

Re: [R-pkg-devel] Unfortunate function name generic.something

2023-05-08 Thread Ulrike Groemping
gen for class cl, so do not name functions in this style unless they are intended to be methods." So probably the best solution (even if inconvenient) is to rename levels.no to something that doesn't look like an S3 method. Duncan Murdoch On 08/05/2023 5:50 a.m., Ulrike Groemping wr

Re: [R-pkg-devel] Unfortunate function name generic.something

2023-05-08 Thread Ulrike Groemping
t;). This is usually used in a package's deprecated and defunct doc pages, but you can use it anywhere. On Fri, May 5, 2023, 06:49 Ulrike Groemping wrote: Dear package developeRs, I am working on fixing some notes regarding package DoE.base. One note refers to the function

[R-pkg-devel] Unfortunate function name generic.something

2023-05-05 Thread Ulrike Groemping
internal function that I like to have documented. Is there a way to document the function without renaming it and without triggering a note about method documentation? Best, Ulrike -- ## ## Prof. Ulrike Groemping ## FB II ## Berliner Hochschule für