Re: [R-pkg-devel] CensSpatial package error.

2020-05-12 Thread Maëlle SALMON via R-package-devel
I just wanted to add that is an interesting read on the topic. :-) Den lördag 2 maj 2020 18:27:29 CEST, Max Turgeon skrev: Hi Jos�, The error message is pretty clear: Error in if (cl

Re: [R-pkg-devel] CensSpatial package error.

2020-05-02 Thread Max Turgeon
Hi Jos�, The error message is pretty clear: Error in if (class(V.inv) == "try-error") return(Inf) : the condition has length > 1 Instead of testing for equality of the class, you should use the function "inherits". Then, even if "class(V.inv)" has length greater than one, your condition in t

Re: [R-pkg-devel] CensSpatial package error.

2020-05-02 Thread Uwe Ligges
This indicates a programing error: --- function search by body --- Function FCi.fixo in namespace CensSpatial has this body. --- END OF FAILURE REPORT -- Error in if (class(V.inv) == "try-error") return(Inf) : the condition has length > 1 Calls: SAEMSCL Yoiu see class