[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: Bug#1000339: r-cran-raster breaks r-cran-satellite autopkgtest: unable to find an inherited method for function 'extend'



There is a new version of "raster" on CRAN. This version specifies the version of terra that is required. 

The problem is one of conflicting package namespaces. I am confident it is related to the order of installation and the versions of the packages. It can only be created if you install raster in the presence of an older version of terra, and install a newer version of terra after that. I know you say you tried that but I have not seen the sessionInfo()s to be sure about that.

The new release of raster should first update terra if indeed it finds an older version. So let's hope I am right.

Robert 

On Thu, Dec 9, 2021 at 1:45 AM Nilesh Patra <nilesh@riseup.net> wrote:
On 9 December 2021 10:02:46 am IST, "Robert J. Hijmans" <r.hijmans@gmail.com> wrote:
>The only way that I can
>imagine this would happen is if you install the current version raster with
>an older version of terra.

We have 1.4-22 in Debian, which is also the latest on cran. So I don't think the version thingy specifically with terra should be a problem.
Does it need a specific version of terra and not the latest?

And excuse my lack of knowledge, but if you check the logs below, the version of lapack is 3.10.0 and I've seen things breaking with changes in lapack versions. Could that cause some problems here?

>You can do that because the raster package does
>not specify the version of terra it needs. At installation, the namespace
>for the raster package is fixed. If you then install the current version of
>terra, there is a namespace conflict, and the raster package should be
>reinstalled.

I took care of all the adjustments. Tried with newer terra from cran (and not from the Debian archive) as well, the result is same for me.

>I will send a new version of raster, that specifies the
>version of terra it needs, to CRAN tomorrow.  Perhaps that will help.

We will see. Thanks for the help though.

Regards,
Nilesh

Reply to: