I'm having the following problem: When I try to install any R package, at first it downloads the package just fine into a temporal location, and then the following error message appears:
Error: package ‘usethis’ required by ‘devtools’ could not be found Execution halted Warning in install.packages : installation of package ‘lattice’ had non-zero exit status
The wierd part of this is that package usethis is installed and loaded.
Any advise on what can be happening here? I'm a lost there..