[R] Weird and changed as.roman() behavior

Jani Välimaa w@||y @end|ng |rom m@ge|@@org
Tue Jan 14 19:39:19 CET 2025


Hello,

I don't know what's changed or how to figure out why as.roman() started
to work different way lately on Mageia Cauldron. Cauldron is the
latest development version of Mageia Linux.

Expected bahavior:
> as.roman(strrep("I", 1:5))
[1] I   II  III IV  V  

Current behavior:
> as.roman(strrep("I", 1:5))
[1] I    II   III  IV   <NA>
Warning message:
In .roman2numeric(x) : invalid roman numeral: IIIII

as.roman() doesn't handle "IIIII" -> "V" anymore and thus 'make check'
fails when building any 4.3.x or 4.4.x versions from the sources.

Any hints?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP-allekirjoitus
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20250114/13f7017c/attachment.sig>


More information about the R-help mailing list