Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

error there is no package called 'codetools'

I'm trying to publish my ioslides_presentation to shyniapps.io but getting an error: error there is no package called 'codetools'.

The package is installed on the local machine. What is the problem? I use macOS Sierra, R version 3.2.2, RStudio version 1.0.44.


1 Answers

I am running R-Studio Server. I received the same error when attempting to knit the file.

Loading the 'codetools' directly through R/R-Studio or on unix solved the issue for me.

sudo su - -c "R -e \"install.packages('codetools', repos='http://cran.rstudio.com/')\""
like image 167
Jacksonsox Avatar answered Jul 01 '26 13:07

Jacksonsox