Instead of warning Im being presented with an error for installing packages of older versions.

Hello. I recently updated R and also updated some packages. the cli package is an old troublemaker for me but at last i was able to update it.

then I called tidyverse and got this messege:
Error: (converted from warning) package ‘tidyverse’ was built under R version 4.2.2

When Im trying to call ggplot like i always do, it opens the ggplot2:: bar, meaning it was not called from memory...

Please, dear R staff, remove this annoying warning, now error. nobody cares a package was built under an older version, and now Im being punished for updating my R!

image

What is the output of

 sessionInfo() 
sessionInfo()
#> R version 4.2.0 (2022-04-22)
#> Platform: x86_64-pc-linux-gnu (64-bit)
#> Running under: Pop!_OS 22.04 LTS
#> 
#> Matrix products: default
#> BLAS:   /usr/local/lib/R/lib/libRblas.so
#> LAPACK: /usr/local/lib/R/lib/libRlapack.so
#> 
#> locale:
#>  [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C              
#>  [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
#>  [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8   
#>  [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                 
#>  [9] LC_ADDRESS=C               LC_TELEPHONE=C            
#> [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       
#> 
#> attached base packages:
#> [1] stats     graphics  grDevices utils     datasets  methods   base     
#> 
#> loaded via a namespace (and not attached):
#>  [1] rstudioapi_0.13   knitr_1.39        magrittr_2.0.3    R.cache_0.15.0   
#>  [5] rlang_1.0.4       fastmap_1.1.0     fansi_1.0.3       stringr_1.4.0    
#>  [9] styler_1.7.0      highr_0.9         tools_4.2.0       xfun_0.32        
#> [13] R.oo_1.24.0       utf8_1.2.2        cli_3.3.0         withr_2.5.0      
#> [17] htmltools_0.5.3   yaml_2.3.5        digest_0.6.29     tibble_3.1.8     
#> [21] lifecycle_1.0.1   purrr_0.3.4       R.utils_2.10.1    vctrs_0.4.1      
#> [25] fs_1.5.2          glue_1.6.2        evaluate_0.16     rmarkdown_2.15   
#> [29] reprex_2.0.1      stringi_1.7.8     compiler_4.2.0    pillar_1.8.0     
#> [33] R.methodsS3_1.8.1 pkgconfig_2.0.3

Created on 2022-12-26 by the reprex package (v2.0.1)

I have no idea who did what or who prayed to which god, but it now works. And pretty fast actually.

Still, I woul love to silent these behaviors (and not via my .Revniovn file, I'm too afraid to touch it)

1 Like

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.