search for: getnamespaceversion

Displaying 6 results from an estimated 6 matches for "getnamespaceversion".

2024 Oct 17
1
Consider getNamespaceVersion() returning a numeric_version
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 erroneously > comparing character objects rather than a comparison between a > `numeric_version` object and a character. Perhaps you could do that rather than speculating? Similarly, try out...
2024 Oct 17
2
Consider getNamespaceVersion() returning a numeric_version
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 rather than a comparison between a `numeric_version` object and a character. Tim On 17/10/2024 13:22, Dirk Eddelbuettel wrote: > On 17 October 2024 at 12:38, Tim Ta...
2024 Oct 17
1
Consider getNamespaceVersion() returning a numeric_version
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")) < "4.5.0" [1] TRUE > > as.package_version(getNames...
2024 Oct 17
1
Consider getNamespaceVersion() returning a numeric_version
Would R-Core be receptive to having getNamespaceVersion() return a numeric_version object instead of a named character? Tim
2010 Oct 15
0
R 2.12.0 is released
...? If the loop variable in a for loop was deleted, it would be recreated as a global variable. (Reported by Radford Neal; the fix includes his optimizations as well.) ? Task callbacks could report the wrong expression when the task involved parsing new code. (PR#14368) ? getNamespaceVersion() failed; this was an accidental change in 2.11.0. (PR#14374) ? identical() returned FALSE for external pointer objects even when the pointer addresses were the same. ? L$a at x[] <- val did not duplicate in a case it should have. ? tempfile() now always gives a random...
2010 Oct 15
0
R 2.12.0 is released
...? If the loop variable in a for loop was deleted, it would be recreated as a global variable. (Reported by Radford Neal; the fix includes his optimizations as well.) ? Task callbacks could report the wrong expression when the task involved parsing new code. (PR#14368) ? getNamespaceVersion() failed; this was an accidental change in 2.11.0. (PR#14374) ? identical() returned FALSE for external pointer objects even when the pointer addresses were the same. ? L$a at x[] <- val did not duplicate in a case it should have. ? tempfile() now always gives a random...