When i try to install a R package nlopt-2.4.2.tar.gz from http://ab-initio.mit.edu/nlopt/nlopt-2.4.2.tar.gz , using sudo R CMD INSTALL nlopt-2.4.2.tar.gz,
I get the following Error :
Error in untar2(tarfile, files, list, exdir, restore_times) :
unsupported entry type ‘’
It's not an R package!
If you perform the tar, zip dance:
and look at the README, you get: