I mean the `numeric_version` object not a numeric (double/int).
Basically to protect me from myself I'd prefer not to have to remember
to wrap `getNamespaceVersion()` with `as.package_version()`.
I suspect a grep of CRAN may highlight others who are erroneously
comparing character objects rath
On 17 October 2024 at 13:42, Tim Taylor wrote:
| I mean the `numeric_version` object not a numeric (double/int).
| Basically to protect me from myself I'd prefer not to have to remember
| to wrap `getNamespaceVersion()` with `as.package_version()`.
That would be a breaking change. I suspect yo
On 17 October 2024 at 12:38, Tim Taylor wrote:
| Would R-Core be receptive to having getNamespaceVersion() return a
| numeric_version object instead of a named character?
Is this good enough? What's your actual issue a 'numeric' would address?
> as.package_version(getNamespaceVersion("base"
Would R-Core be receptive to having getNamespaceVersion() return a
numeric_version object instead of a named character?
Tim
__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
On 17/10/2024 15:53, Prof Brian Ripley wrote:
On 17/10/2024 13:42, Tim Taylor wrote:
I mean the `numeric_version` object not a numeric (double/int).
Basically to protect me from myself I'd prefer not to have to
remember to wrap `getNamespaceVersion()` with `as.package_version()`.
I suspect a
On 17/10/2024 13:42, Tim Taylor wrote:
I mean the `numeric_version` object not a numeric (double/int).
Basically to protect me from myself I'd prefer not to have to remember
to wrap `getNamespaceVersion()` with `as.package_version()`.
I suspect a grep of CRAN may highlight others who are erron