Cannot load my data after installing some packages, issue with "pillar"

Hello, i got a issue with my script that was working just fine after i install 3 packages :
library(tidyverse)
library(ggpubr)
library(rstatix)

Now i cant load my datas and he give me this message : data <- read_xlsx("~/R/Gaël/Données.xlsx")
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace ‘pillar’ 1.4.7 is being loaded, but >= 1.6.0 is required

I dont understand why and i dont understand how to fix it, thanks for youre help.

Edit : I cant load any data now (frow excel or csv) i always got this message :

Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
namespace ‘pillar’ 1.4.7 is being loaded, but >= 1.6.0 is required

This is asking you to update the pillar package

install.packages("pillar")

This is what ive done, but he is installing de 1.4.7 version and i need the 1.6.0 version.
So i updated him but hes still in 1.4.7... He kind of dont want to update him

So, i got this message when i try to install him :

installing source package 'pillar' ...
** package 'pillar' correctement décompressé et sommes MD5 vérifiées
** using staged installation
Warning in file(file, if (append) "a" else "w") :
impossible d'ouvrir le fichier 'C:/Users/Gakl/Documents/R/win-library/3.6/00LOCK-pillar/00new/pillar/DESCRIPTION' : No such file or directory
Error in file(file, if (append) "a" else "w") :
impossible d'ouvrir la connexion
ERROR: installing package DESCRIPTION failed for package 'pillar'

  • removing 'C:/Users/Gaël/Documents/R/win-library/3.6/pillar'
  • restoring previous 'C:/Users/Gaël/Documents/R/win-library/3.6/pillar'
    Warning in install.packages :
    installation of package ‘pillar’ had non-zero exit status

The package is not being installed successfully because R has problems with non-ASCII characters in the package library path.

You can change the default library folder by setting your R_LIBS_SITE environmental variable on a .Reviron or .Rprofile file, for example:

# In a .Renviron file you can set it by adding a line like this one, with your desired folder path. 
R_LIBS_SITE="C:\\Program Files\\R\\R-4.0.3\\library"

For a more detailed explanation, you can read this blog post

If i do so, am i going to have some issues with my others packages ?
I dont understand why i have this issue with pillar and not with my others packages
Thank a lot for your help thougth

You have this issue updating pillar because you need to install it from source, do to the old R version you are using.

You could also try updating your R version and installing pillar from a precompiled binary. But that would also require you to update all your other packages.

thx you I'll do that !

Im sorry, but i did not solve my issue even with your blog, i just dont understand how to change my library location, and how to make R understand where is the new location...

OK finaly i did it !!!! Thx you !!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.