[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.
Best,
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.
https://www.dropbox.com/sh/gp5iwubkgbv9r8s/AADvJg-GGHKzoMU_PHNWdcYea?dl=0
<https://www.dropbox.com/sh/gp5iwubkgbv9r8s/AADvJg-GGHKzoMU_PHNWdcYea?dl=0&fbclid=IwAR1xeC1ArV-7IGBhatSil7u_aCjZbFoj3BDc_TD2fVq_pwGl5sdH8vgVuKQ>
In the link below, I cannot recognize what the error is. SOS!
https://win-builder.r-project.org/incoming_pretest/CensSpatial_2.5_20200428_224633/Debian/00check.log
<https://win-builder.r-project.org/incoming_pretest/CensSpatial_2.5_20200428_224633/Debian/00check.log?fbclid=IwAR2vaWkuHuyURbZH1WrUREFpmy4uO_XbXQd6leglq4CPPnn8HZgggm-1xMs>
Thanks for the attention.
Att,
Jos� Alejandro Ordo�ez.
Ph.D Student
UNICAMP.
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Libre
de virus. www.avast.com<http://www.avast.com>
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#m_2258293037509368237_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
[[alternative HTML version deleted]]
______________________________________________
R-package-devel using r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel
[[alternative HTML version deleted]]
More information about the R-package-devel
mailing list