[Rd] is.vector could handle AsIs class better
g@bembecker @end|ng |rom gm@||@com
Sun Mar 29 20:09:11 CEST 2020
I believe it's because it has "a non-NULL attribute other than names" as
per the documentation. In this case its class of "AsIs".
On Sun, Mar 29, 2020 at 6:29 AM Jan Gorecki <j.gorecki using wit.edu.pl> wrote:
> Dear R-devel,
> AsIs class seems to be well handled by `typeof` and `mode` function.
> Those two functions are being referred when explaining `is.vector`
> behaviour in manual. Yet `is.vector` does not seem to be handling AsIs
> class the same way.
> # TRUE
> # FALSE
> Is there any reason behind this behaviour?
> Could we have it supported so AsIs class is ignored when `is.vector`
> is doing its job?
> Best Regards,
> Jan Gorecki
> R-devel using r-project.org mailing list
[[alternative HTML version deleted]]
More information about the R-devel