I have a functioning R_Markdown file that I am currently trying to knit into a word document, but each time I do, I get this error message:
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace 'glue' 1.4.2 is being loaded, but >= 1.6.1 is required
Calls: <Anonymous> ... namespaceImportFrom -> asNamespace -> loadNamespace
Execution halted
I have all of these packages brought up in library:
library(scales)
library(rlang)
library(dplyr)
library(readxl)
library(ggplot2)
library(plyr)
library(rmarkdown)
I am at a loss for what to do.
I looked up other similar errors and there was a lot of suggestions having to do with packages and installations and reinstallations, but I'm very confused because I haven't found the "namespace 'glue' " detail anywhere, so I'm wondering if this is something other than a package. I just need the word document for the R_markdown to share my code with some colleagues. Thank you for your help!