Error: Package or namespace load failed

22k views Asked by At

I am getting the following error when I am loading a few libraries in R:

library(forecast) Error : object ‘f_eval’ is not exported by 'namespace:lazyeval' In addition: Warning message: package ‘forecast’ was built under R version 3.3.2 Error: package or namespace load failed for ‘forecast’

library(tsoutliers) Error : object ‘f_eval’ is not exported by 'namespace:lazyeval' In addition: Warning message: package ‘tsoutliers’ was built under R version 3.3.2 Error: package or namespace load failed for ‘tsoutliers’

I have tried reinstalling the packages but it didn't help. Also, I was able to use the forecast package previously but I started facing this error post the installation of tsoutliers package.

How can I resolve this issue?

1

There are 1 answers

0
Simon On BEST ANSWER

This should do the job for you:

install.packages('lazyeval')

In the future, try and provide a bit more about your system and install, using the output from:

sessionInfo()