library(tidyverse)
Error: package or namespace load failed for ‘tidyverse’:
.onAttach failed in attachNamespace() for 'tidyverse', details:
call: cli::rule(left = crayon::bold("Attaching packages"), right = paste0("tidyverse ",
error: lazy-load database 'C:/Users/r/Documents/R/win-library/3.5/assertthat/R/assertthat.rdb' is corrupt
In addition: Warning messages:
1: In cli::rule(left = crayon::bold("Attaching packages"), right = paste0("tidyverse ", :
restarting interrupted promise evaluation
2: In cli::rule(left = crayon::bold("Attaching packages"), right = paste0("tidyverse ", :
internal error -3 in R_decompress1
The key in the error message is C:/Users/r/Documents/R/win-library/3.5/assertthat/R/assertthat.rdb
Try a fresh install:
install.packages("asserthat")
and make sure your R installation is reasonably current (>=3.5.0)
Thank you, I tried > install.packages("assertthat"), re-installed tidyverse and had to re-install nlme; re-installed tidyverse again and get the following:
library(tidyverse)
-- Attaching packages --------------------------------------- tidyverse 1.2.1 --
v tibble 2.1.1 v purrr 0.3.2
v tidyr 0.8.3 v stringr 1.4.0
v readr 1.3.1 v forcats 0.4.0
-- Conflicts ------------------------------------------ tidyverse_conflicts() --
x dplyr::filter() masks stats::filter()
x dplyr::lag() masks stats::lag()
Is this correct? I haven't seen this before on library()
Thanks again
Yes. This is just a startup message showing you which versions of packages you have installed, and, like every package that has conflicts with built-in packages (base, stats), those show up as well.
So, in summary, you're good to go.
Thank you! Much appreciated; yes it's working
@mara is, of course right. If you are doing rmarkdown (Rmd), you can prevent these from showing up, by
suppressPackageStartupMessages(library(tidyverse))
Wow! I've learned so much in such a short time; much obliged!
This must be so trivial for you folks, thank you for your time.
Glad it's working. Some thing get trivial with time, but you'd be surprised how much you can learn trying to come up with a comprehensible answer to what at first seems like a trivial question. So, thanks for asking!
This topic was automatically closed 21 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.