[R-pkg-devel] CensSpatial package error.

Max Turgeon M@x@Turgeon @end|ng |rom um@n|tob@@c@
Sat May 2 18:20:48 CEST 2020

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 the if clause will be exactly TRUE or FALSE.


Max Turgeon

On May 2, 2020 10:07 AM, Jos� Alejandro Ordo�ez <ordonezjosealejandro using gmail.com> wrote:
Caution: This message was sent from outside the University of Manitoba.

Good evening,

My name is Jose and I'm the mantainer of the CensSpatial package. This
package was available as public but it was discharged because a problem
with the geoR orphan package.
That situation was solved and now I'm trying to resubmit the package. The
problem is that when I try to submit it, it does not pass the automatic
incoming checks,* even when I tested it using the function check available
in R studio without errors.*
Apparently is a problem with the OS Linux and Debian but I couldn't
identify it yet. I also tested it using the package rhub and ran
CensSpatial with different OS without results.

I'm provinding below the link to the source package and the error messages,
hoping to get some help from you.


In the link below, I cannot recognize what the error is. SOS!


Thanks for the attention.

Jos� Alejandro Ordo�ez.
Ph.D Student

de virus. www.avast.com<http://www.avast.com>

        [[alternative HTML version deleted]]

R-package-devel using r-project.org mailing list

	[[alternative HTML version deleted]]

More information about the R-package-devel mailing list