ECCC-CDAS / RClimDex

Simple R package for ETCCDI/CRD climate change indices calculations
GNU Lesser General Public License v2.1
45 stars 23 forks source link

cannot install it #10

Open schatterje22 opened 11 months ago

schatterje22 commented 11 months ago

install.packages("RClimDex-1.9-3.tar.gz", repos=NULL, type="source")

Installing package into ‘C:/Users/chatt/Documents/R/win-library/4.1’ (as ‘lib’ is unspecified) Warning: invalid package 'RClimDex-1.9-3.tar.gz' Error: ERROR: no packages specified Warning in install.packages : installation of package ‘RClimDex-1.9-3.tar.gz’ had non-zero exit status

AlinaBW commented 5 months ago

I also cannot install the package neither on a mac nor on a windows PC. The message I get is that the package is not available for the current version of R. I am using the latest versions. Is the RClimDex package still offered?

Windows:

install.packages("climdex.pcic")
Warning in install.packages :
  package ‘climdex.pcic’ is not available for this version of R

Mac:

install.packages("RClimDex_1.9-1.tar.gz", repos=NULL, type="source")
Warning: invalid package ‘RClimDex_1.9-1.tar.gz’
Error: ERROR: no packages specified
Warning in install.packages :
  installation of package ‘RClimDex_1.9-1.tar.gz’ had non-zero exit status
install.packages("climdex.pcic")
Warning in install.packages :
  package ‘climdex.pcic’ is not available for this version of R
Vinipbarros commented 2 months ago

Same here, package is not available.

Dihj commented 1 month ago

For me, I installed first climdex.pcic available at https://github.com/cran/climdex.pcic with devtools by using the command devtools::install_github("cran/climdex.pcic"), then downloaded the source package here https://github.com/ECCC-CDAS/RClimDex/archive/refs/tags/1.9-3.tar.gz and installed it as a source in R.