[Rd] Missing warning when NAs are generated during coercion to complex (PR#13942)

2009-09-03 Thread gmbecker
Hello all, I ran into this today and just thought you guys should know about it. Consider the following: as(c("TRUE", "TRUE"), "complex") #warning about NAs as(list("TRUE", "TRUE"), "complex") #no warning At first I thought that it was something about it being a list, but then I tried as(list("

[Rd] Missing warning when NAs are generated during coercion to complex

2009-09-03 Thread Gabriel Becker
Hello all, I ran into this today and just thought you guys should know about it. Consider the following: as(c("TRUE", "TRUE"), "complex") #warning about NAs as(list("TRUE", "TRUE"), "complex") #no warning At first I thought that it was something about it being a list, but then I tried as(list("