Cameron M
Cameron M

Reputation: 55

Error installing SPEI package in R

I am trying to install SPEI in Rstudio, version 1.1.414, running on Windows 7. However, I get the following error message in the console:

install.packages("SPEI") Installing package into ‘C:/Users/xxx/Documents/R/win-library/3.2’ (as ‘lib’ is unspecified) Warning in install.packages : dependency ‘goftest’ is not available also installing the dependency ‘lmomco’

It appears that this "goftest" package is unavailable, so how can I proceed?

Thank you.

Upvotes: 0

Views: 491

Answers (1)

Anna S
Anna S

Reputation: 16

'goftest' documentation says

Depends R (>= 3.3)

so probably you should upgrade to a later version of R to use the package: https://cran.r-project.org/web/packages/goftest/goftest.pdf

Upvotes: 0

Related Questions