Um detalhe é que é necessário instalar o Ecfun tbm. Mas tentei ambos e não consegui. Baixei o tar.gz no Cran e tentei assim tbm e nada. Aparace:
ERROR: configuration failed for package ‘xml2’
* removing ‘/home/eliezer/R/x86_64-pc-linux-gnu-library/3.6/xml2’
Warning in install.packages :
installation of package ‘xml2’ had non-zero exit status
ERROR: dependencies ‘RCurl’, ‘XML’, ‘stringi’, ‘xml2’ are not available for package ‘Ecfun’
* removing ‘/home/eliezer/R/x86_64-pc-linux-gnu-library/3.6/Ecfun’
Warning in install.packages :
installation of package ‘Ecfun’ had non-zero exit status
ERROR: dependency ‘Ecfun’ is not available for package ‘Ecdat’
* removing ‘/home/eliezer/R/x86_64-pc-linux-gnu-library/3.6/Ecdat’
Warning in install.packages :
installation of package ‘Ecdat’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpJp3SZc/downloaded_packages’