I am doing a course in R and one of the codes they've asked us to run requires tidyr. I can install tidyr, but when I run the code I encounter: 'namespace 'glue' 1.2.0 is already loaded, but >=1.3.0 is required'. I have tried several ways to address this including:
re-starting R with a new session and reinstalling glue (note I have the latest version of R)
installing the glue package using the direct link from CRAN
deleting the glue package directly from my library folder and reinstalling
downloading the glue package 1.3.0 zip folder and extracting files to my library folder and then reinstalling.
Despite this, every time I install glue, I get version 1.2.0.
How can I upload the latest version of glue?