SantanderMetGroup / climate4R.climdex

A climate4R package for calculation of the ETCCDI core climate indices (part of the climate4R bundle)
https://github.com/SantanderMetGroup/climate4R
GNU General Public License v3.0
2 stars 4 forks source link

package ‘climdex.pcic’ is not available for this version of R #18

Open simevo opened 1 year ago

simevo commented 1 year ago

while installing this package with:

/usr/bin/R -e "devtools::install_github(c('SantanderMetGroup/loadeR.java', 'SantanderMetGroup/transformeR', 'SantanderMetGroup/climate4R.climdex','SantanderMetGroup/climate4R.UDG','SantanderMetGroup/loadeR', 'SantanderMetGroup/visualizeR','SantanderMetGroup/downscaleR', 'SantanderMetGroup/loadeR.2nc'))"

on debian 12 stable (which has R 4.2.2) we receive this warning:

Warning messages:
1: package ‘climdex.pcic’ is not available for this version of R

A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages 
2: In i.p(...) :
  installation of package ‘/tmp/RtmpHvShJw/file921406163fc/climate4R.climdex_0.2.3.tar.gz’ had non-zero exit status

the installation works fine on debian 11 oldstable (which has R 4.0.4)

simevo commented 1 year ago

related: https://github.com/pacificclimate/climdex.pcic/issues/27

miturbide commented 1 year ago

This points to an installation issue with the pacificclimate package climdex.pcic, which is a dependency of climate4R.climdex. Try installing this package first. climdex.pcic is no longer available on CRAN, so you can try installing it from GitHub as follows:

devtools::install_github("pacificclimate/climdex.pcic")