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

2023-05-09 Thread Duncan Murdoch
On 09/05/2023 5:05 p.m., Simon Urbanek wrote: Duncan, you're right that any functions in the call environment are always treated as methods (even before consulting method registrations). That is a special case - I presume for compatibility with the world before namespaces so that, e.g., you d

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

2023-05-09 Thread Simon Urbanek
Duncan, you're right that any functions in the call environment are always treated as methods (even before consulting method registrations). That is a special case - I presume for compatibility with the world before namespaces so that, e.g., you don't have to register methods in the global envi

Re: [R-pkg-devel] files katex.js and katex-config.js not found in R CMD check --as-cran

2023-05-09 Thread Ivan Krylov
On Tue, 9 May 2023 12:57:06 -0400 J C Nash wrote: > In updating my nlsr package, I ran R CMD check --as-cran and got an > error that /usr/lib/R/doc/html/katex/katex.js was not found. > Is there a glitch in my system? Or is this a bug in the latest R CMD > check --as-cran? (Or at least a configur

[R-pkg-devel] files katex.js and katex-config.js not found in R CMD check --as-cran

2023-05-09 Thread J C Nash
In updating my nlsr package, I ran R CMD check --as-cran and got an error that /usr/lib/R/doc/html/katex/katex.js was not found. I installed the (large!) r-cran-katex. No joy. katex.js was in /usr/share/R/doc/html/katex/ so I created a symlink. Then I got katex-config.js not found (but in 1 dir

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

2023-05-09 Thread Michael Dewey
Dear Ulrike Even though it will undobtedly be a lot of work to rename levels.no I cannot help feeling that by fighting against the system you may be storing up trouble for yourself in future when some upgrade breaks your current solution and you have to make yet more changes. Michael On 09/