[R-pkg-devel] CensSpatial package error.
||gge@ @end|ng |rom @t@t|@t|k@tu-dortmund@de
Sat May 2 18:15:23 CEST 2020
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
Yoiu see class(N.inv) has length > 1 hence if(cond) has a length > 1
condition and cannot deal with it (well takes only the first value),
hence rewrite to, e.g.,
if ("try-error" %in% class(V.inv))
On 02.05.2020 01:41, José Alejandro Ordoñez wrote:
> 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
> [[alternative HTML version deleted]]
> R-package-devel using r-project.org mailing list
More information about the R-package-devel