Displaying 2 results from an estimated 2 matches for "tweats".
Did you mean:
tweaks
2023 Oct 24
1
as.character.Date() strips names in R 4.3.2 beta, bug?
...change, and hope it gets changed back.)
Yes, this change has been *very* intentional: as.character() for
these objects since 4.3.0 (April 2023) finally behaves as other
as.character() methods and *does* drop attributes.
The NEWS entry
(visible since more than a year if you'd follows NEWS.Rd tweats/.. etc)
is
? ?as.character(<POSIXt>)? now behaves more in line with the
methods for atomic vectors such as numbers, and is no longer
influenced by ?options()?. Ditto for
?as.character(<Date>)?. The ?as.character()? method gets
arguments ?digits? and ?OutDec?...
2023 Oct 24
1
as.character.Date() strips names in R 4.3.2 beta, bug?
In previous versions of R, as.character.Date() retained any names on
its input vector. In R 4.3.2 beta, it removes names. Is this change
intentional, or a bug? (For what it's worth, I greatly dislike this
change, and hope it gets changed back.)
$ grep DESCRIPTION /etc/lsb-release
DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"
$ R --vanilla
R version 4.2.1 Patched (2022-07-09 r82577)