From B.Rowlingson@lancaster.ac.uk  Mon Dec 18 12:46:04 2000
From: B.Rowlingson@lancaster.ac.uk (B.Rowlingson@lancaster.ac.uk)
Date: Mon, 18 Dec 2000 13:46:04 +0100 (MET)
Subject: [Rd] demo(is.things) fails (PR#772)
Message-ID: <200012181246.NAA21203@pubhealth.ku.dk>

Full_Name: Barry Rowlingson
Version: R-1.2.0
OS: RH7/i386
Submission from: (NULL) (148.88.0.11)


demo(is.things) fails with:

> is.ALL(NULL)
Error in as.POSIXct.default(x) : Don't know how to convert `x' to class
"POSIXct"
In addition: Warning message: 
is.nan() applied to non-(list or vector) in: fn(obj) 

 - this seems to be because it is calling:

> is.na.POSIXlt(NULL)
Error in as.POSIXct.default(x) : Don't know how to convert `x' to class
"POSIXct"

 is.na.POSIXlt(NA) gives the same error, and there's nothing on NA's or
NULL's in the documentation for the POSIX{l,c}t functions. It seems that
errors in these functions cause 'stop()' calls rather than returning NA's.

Barry



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] demo(is.things) fails (PR#772)
B.Rowlingson@lancaster.ac.uk