On Wed, 16 Feb 2022 15:20:48 +0100
Poizot Emmanuel <emmanuel.poi...@lecnam.net> wrote:

> I tried to install gstat package via install.packages('gstat')
> command on R (version 3.5.2) and my OS is Debian buster.

> mtrx.c: In function ‘CHfactor’:
> mtrx.c:391:74: error: ‘FC_LEN_T’ undeclared (first use in this 
> function); did you mean ‘FD_SET’?
>     F77_CALL(dpotrf)("Upper", (int *)&(m->n), m->v, (int *)&(m->n), 
> info, (FC_LEN_T) 5);

The gstat package doesn't declare a correct R version dependency, but
it does use a feature that appeared in a newer version of R. (3.6.2, I
think?)

Try installing older versions of gstat from
<https://cran.r-project.org/src/contrib/Archive/gstat/> until you find
one that's working. Alternatively, install a newer version of R from
<https://cran.r-project.org/bin/linux/debian/>.

-- 
Best regards,
Ivan

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to