eddelbuettel / nanotime

Nanosecond Resolution Time Functionality for R
https://eddelbuettel.github.io/nanotime
GNU General Public License v2.0
53 stars 7 forks source link

R-devel nags #101

Closed eddelbuettel closed 2 years ago

eddelbuettel commented 2 years ago

Just noticed this:

File ‘nanotime/R/nanoduration.R’: if (class(target) == "nanoduration") ...
File ‘nanotime/R/nanoduration.R’: if (class(current) == "nanoduration") ...
File ‘nanotime/R/nanoival.R’: if (class(table) == "nanoival") ...
File ‘nanotime/R/nanotime.R’: if (class(e2) == "nanotime") ...
File ‘nanotime/R/nanotime.R’: if (class(by) == "nanoperiod") ...
File ‘nanotime/R/nanotime.R’: if (class(by) == "nanoperiod") ...
File ‘nanotime/R/nanotime.R’: if (class(target) == "nanotime") ...
File ‘nanotime/R/nanotime.R’: if (class(current) == "nanotime") ...

I'll take care of it and switch to inherits() which is now preferred. I'll also update my r-devel version just in case (which I do every week or other week...)

eddelbuettel commented 2 years ago

Done, and I force-pushed that into the previous 'final' 0.3.6 commit with the updated documentation.

lsilvest commented 2 years ago

Brilliant!

eddelbuettel commented 2 years ago

By now on CRAN :+1: