[R-pkg-devel] Problem with loading package "devtools" from CRAN.

2024-04-28 Thread Rolf Turner
Executive summary: > The devtools package on CRAN appears to be broken. > Installing devtools from github (using remotes::install_github()) > seems to give satisfactory results. This morning my software up-dater (Ubuntu 22.04.4) prompted me to install updated versions of some software,

Re: [R-pkg-devel] Extending proj with proj.line3d methods and overloading the methods

2024-04-28 Thread Ivan Krylov via R-package-devel
В Sun, 28 Apr 2024 15:15:06 + Leo Mada пишет: > This is why I intended to define a new method "proj.line3d" and > overload this method. But it seems that R interprets "line3d.numeric" > as a class - which originates probably from the "data,frame" class. It may help to call the original

Re: [R-pkg-devel] Extending proj with proj.line3d methods and overloading the methods

2024-04-28 Thread Leo Mada via R-package-devel
Dear Ivan, Thank you very much for the response. Indeed, I was skeptical how R interprets class names and I have supposed it a little bit different. S3 methods are more like overloaded functions; while S4 methods are more like true methods implemented for a class. But this is very approximate

Re: [Rd] max on numeric_version with long components

2024-04-28 Thread Kurt Hornik
> Ivan Krylov via R-devel writes: Indeed, apparently using which.min/which.max on the string encoding is not good enough. ? which.min says that x can also be an R object for which the internal coercion to ‘double’ works and I guess we found a case where it does not work. I'll look into