dmcglinn / quant_methods

Applied Quantitative Methods course at the College of Charleston
http://dmcglinn.github.io/quant_methods/
Other
18 stars 26 forks source link

install.packages('leaflet') error #86

Open isabelle-barnes opened 6 months ago

isabelle-barnes commented 6 months ago

I tried to install leaflet and i got this error:

Error: package or namespace load failed for ‘leaflet’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): namespace ‘htmltools’ 0.5.3 is already loaded, but >= 0.5.7 is required In addition: Warning message: package ‘leaflet’ was built under R version 4.2.3

isabelle-barnes commented 6 months ago

I asked ChatGPT for help, and it said that my 'htmltools' package was out of date, so I had to reinstall that and then it worked!