search for: eulerzyx

Displaying 2 results from an estimated 2 matches for "eulerzyx".

2003 Jun 13
1
Problem with Rcmd check and S4 methods
...ntation data package I'm working on, the very first example fails, even though the same code works when used in a regular session. In my experience, this usually indicates T or F has been used instead of TRUE or FALSE, but that's not the case this time. The error message is > x <- eulerzyx(1,0,0) Error: Trying to get slot "validity" from an object of a basic class ("NULL") with no slots Execution halted What I think is the relevant source looks like this: setClass('orientation') setIs('orientation','vector') setClass('eulerzyx'...
2003 Dec 24
1
Questions and suggestions about namespaces
...the same import directive in r-patched and earlier versions, because there is no stats package. 2. Without the namespace, orientlib passes Rcmd CHECK, but when I put in the namespace in and check in r-patched or r-devel, it fails running the first example, with the error message >> x <- eulerzyx(psi=c(0,pi/4,0,0), theta=c(0,0,pi/4,0), phi=c(0,0,0,pi/4)) >Error in getClass(superClass) : "orientation" is not a defined class >Execution halted Is there something I need to do to make sure the classes get exported? 3. Is it necessary to import(methods)? I'm using S4 metho...