1

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?

Zoe
  • 27,060
  • 21
  • 118
  • 148
Isobel M
  • 55
  • 1
  • 6

1 Answers1

0

To see if the package truly needs updating, you can run:

old.packages()

This will list all packages where an update is available. If 'glue' is there, try:

update.packages()

Which will update all available packages previously listed.

JNab
  • 135
  • 10