I'm struggling to get all the required packages updated and running for a shinyapp tutorial on my Mac. The latest issue when I try and run the sample code is the following:
shiny::runApp('~/Documents/my shiny apps/App-1')
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
namespace ‘htmltools’ 0.5.2 is already loaded, but >= 0.5.4 is required
So I ran variations of the following code:
packageVersion("htmltools") # confirms verion is 0.5.2
install.packages("htmltools", type = "binary")
update.packages("htmltools")
library(htmltools)
packageVersion("htmltools") # verion is still 0.5.2
The htmltools package isn't updating. Any idea what I'm doing wrong?