search for: make_numeric_version

Displaying 8 results from an estimated 8 matches for "make_numeric_version".

2024 Mar 29
1
Question regarding .make_numeric_version with non-character input
Dear all, I have a question regarding the R-devel version of .make_numeric_version() function. As far as I can understand, the current code (https://github.com/wch/r-source/blob/66b91578dfc85140968f07dd4e72d8cb8a54f4c6/src/library/base/R/version.R#L50-L56) runs the following steps in case of non-character input: 1. It creates a message named msg using gettextf. 2. Such object is...
2024 Apr 25
1
Question regarding .make_numeric_version with non-character input
...d regards >> >>> Andrea >> >>> On 29/03/2024 20:14, Dirk Eddelbuettel wrote: >> >>> On 29 March 2024 at 17:56, Andrea Gilardi via R-devel wrote: >>> | Dear all, >>> | >>> | I have a question regarding the R-devel version of .make_numeric_version() function. As far as I can understand, the current code (https://github.com/wch/r-source/blob/66b91578dfc85140968f07dd4e72d8cb8a54f4c6/src/library/base/R/version.R#L50-L56) runs the following steps in case of non-character input: >>> | >>> | 1. It creates a message named msg usin...
2024 Apr 24
1
Question regarding .make_numeric_version with non-character input
...adding the related patch. >> Kind regards >> Andrea >> On 29/03/2024 20:14, Dirk Eddelbuettel wrote: >>> On 29 March 2024 at 17:56, Andrea Gilardi via R-devel wrote: >>> | Dear all, >>> | >>> | I have a question regarding the R-devel version of .make_numeric_version() function. As far as I can understand, the current code (https://github.com/wch/r-source/blob/66b91578dfc85140968f07dd4e72d8cb8a54f4c6/src/library/base/R/version.R#L50-L56) runs the following steps in case of non-character input: >>> | >>> | 1. It creates a message named msg usin...
2024 Apr 25
1
Question regarding .make_numeric_version with non-character input
Hi Kurt, On 25 April 2024 at 08:07, Kurt Hornik wrote: | >>>>> Herv? Pag?s writes: | | > Hi Kurt, | > Is it intended that numeric_version() returns an error by default on | > non-character input in R 4.4.0? | | Dear Herve, yes, that's the intention. | | > It seems that I can turn this into a warning by setting | >
2024 Apr 25
1
Question regarding .make_numeric_version with non-character input
...>> On 29/03/2024 20:14, Dirk Eddelbuettel wrote: > >> On 29 March 2024 at 17:56, Andrea Gilardi via R-devel wrote: >> | Dear all, >> | >> | I have a question regarding the R-devel version of .make_numeric_version() function. As far as I can understand, the current code (https://github.com/wch/r-source/blob/66b91578dfc85140968f07dd4e72d8cb8a54f4c6/src/library/base/R/version.R#L50-L56) runs the following steps in case of non-character input: >> | >> | 1. It creates a mess...
2024 Apr 25
2
Question regarding .make_numeric_version with non-character input
...> Andrea > On 29/03/2024 20:14, Dirk Eddelbuettel wrote: > On 29 March 2024 at 17:56, Andrea Gilardi via R-devel wrote: > | Dear all, > | > | I have a question regarding the R-devel version of .make_numeric_version() function. As far as I can understand, the current code (https://github.com/wch/r-source/blob/66b91578dfc85140968f07dd4e72d8cb8a54f4c6/src/library/base/R/version.R#L50-L56) runs the following steps in case of non-character input: > | > | 1. It creates a message named...
2023 Jul 06
1
numeric_version doesn't like numeric versions anymore?
Dear R devs, I installed the recent devel R to test a package error when I intercept this warning when loading packages: ``` Warning in .make_numeric_version(x, strict, .standard_regexps()$valid_numeric_version) : invalid non-character version specification 'x' (type: double) ``` After a long debugging, I realize that `numeric_version` in base does not support numerical input x by default now. A reproducible example: R 4.4 ``` > numer...
2009 Nov 22
1
error message when running news()
When running news() in I get this error message from print.news_db: > news() Error: invalid version specification 2.0.12.0.1 patched2.1.02.1.12.1.1 patched2.10.02.10.0 patched2.2.02.2.12.2.1 patched2.3.02.3.12.3.1 patched2.4.02.4.12.4.1 patched2.5.02.5.12.5.1 patched2.6.02.6.12.6.22.6.2 patched2.7.02.7.12.7.22.7.2 patched2.8.02.8.12.8.1 patched2.9.02.9.12.9.22.9.2 patched > R.version.string