Error in require(biwavelet)

212 Views Asked by At

I have just downloaded biwavelet package but when trying to open it in R version 3.1.2 i get this error message:

> library(biwavelet)
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : 
  there is no package called ‘spam’
  Error: package or namespace load failed for ‘biwavelet’

It only happens with this package. Any clues about what is the problem here?

1

There are 1 best solutions below

0
On

It seems to be missing a dependency somehow. Just run

install.packages("spam")

to install the missing package.