On more than one occasion I have the same problem with some packages. The best way to solve this is:
- Reinstalling R (preferably the most current version)
- installing the package from github (previous R update)
- change repository (usually some repositories are down)
Well I assume it may be because of some system bug, but it usually happens.
On the other hand, it is important that you are always viewing your sessionInfo ().
> sessionInfo()
sessionInfo()
R version 3.3.0 (2016-05-03)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Debian GNU/Linux 8 (jessie)
locale:
[1] LC_CTYPE=es_PE.UTF-8 LC_NUMERIC=C
[3] LC_TIME=es_PE.UTF-8 LC_COLLATE=es_PE.UTF-8
[5] LC_MONETARY=es_PE.UTF-8 LC_MESSAGES=es_PE.UTF-8
[7] LC_PAPER=es_PE.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=es_PE.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
I make this comment because, more than once I had problems when I used a couple of packages, I do not remember very well I think they were the (MODIS and the Bfast or remotesensing I think).
I assume in this case that I opened some conflict between these packages. ...
Greetings!