tomwenseleers / export

R package for streamlined export of graphs and data tables.
192 stars 35 forks source link

Error during installation #37

Closed dkgaraujo closed 3 years ago

dkgaraujo commented 3 years ago

Hi! I tried installing the github version (sessionInfo() below), but I received the following error:

Error: Failed to install 'export' from GitHub:
  lazy-load database '/Library/Frameworks/R.framework/Versions/4.0/Resources/library/processx/R/processx.rdb' is corrupt
In addition: Warning message:
In get0(oNam, envir = ns) : internal error -3 in R_decompress1

I accepted the update of all packages, including those with source code versions more up-to-date than available binaries.

Below is the result of my sessionInfo(). Thank you very much for any guidance on how to solve this.

> sessionInfo()
R version 4.0.2 (2020-06-22)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS  10.16

Matrix products: default
LAPACK: /Library/Frameworks/R.framework/Versions/4.0/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] gdtools_0.2.2   officer_0.3.15  rvg_0.2.5       pins_0.4.4      DT_0.15        
 [6] stargazer_5.2.2 covidcast_0.2.0 jsonlite_1.7.1  httr_1.4.2      plotly_4.9.2.1 
[11] rdrop2_0.8.2.1  writexl_1.3.1   lubridate_1.7.9 forcats_0.5.0   stringr_1.4.0  
[16] dplyr_1.0.2     purrr_0.3.4     readr_1.3.1     tidyr_1.1.2     tibble_3.0.4   
[21] ggplot2_3.3.2   tidyverse_1.3.0

loaded via a namespace (and not attached):
  [1] assertive.base_0.0-7       colorspace_1.4-1           ellipsis_0.3.1            
  [4] rprojroot_1.3-2            fs_1.5.0                   rstudioapi_0.11           
  [7] farver_2.0.3               remotes_2.2.0              assertive.sets_0.0-3      
 [10] fansi_0.4.1                xml2_1.3.2                 assertive.data.uk_0.0-2   
 [13] codetools_0.2-16           splines_4.0.2              knitr_1.30                
 [16] pkgload_1.1.0              assertive_0.3-6            assertive.data.us_0.0-2   
 [19] broom_0.7.2                dbplyr_1.4.4               compiler_4.0.2            
 [22] backports_1.2.0            assertthat_0.2.1           Matrix_1.2-18             
 [25] lazyeval_0.2.2             cli_2.2.0                  prettyunits_1.1.1         
 [28] htmltools_0.5.0            tools_4.0.2                gtable_0.3.0              
 [31] glue_1.4.2                 rappdirs_0.3.1             tinytex_0.27              
 [34] Rcpp_1.0.5                 cellranger_1.1.0           vctrs_0.3.5               
 [37] nlme_3.1-148               crosstalk_1.1.0.1          assertive.files_0.0-2     
 [40] assertive.datetimes_0.0-3  assertive.models_0.0-2     xfun_0.19                 
 [43] ps_1.4.0                   testthat_2.3.2             rvest_0.3.6               
 [46] lifecycle_0.2.0            devtools_2.3.1             scales_1.1.1              
 [49] hms_0.5.3                  assertive.matrices_0.0-2   assertive.strings_0.0-3   
 [52] yaml_2.2.1                 curl_4.3                   memoise_1.1.0             
 [55] stringi_1.5.3              desc_1.2.0                 filelock_1.0.2            
 [58] pkgbuild_1.1.0             zip_2.1.1                  cpp11_0.2.4               
 [61] rlang_0.4.9                pkgconfig_2.0.3            systemfonts_0.3.2         
 [64] evaluate_0.14              lattice_0.20-41            assertive.data_0.0-3      
 [67] htmlwidgets_1.5.2          labeling_0.4.2             assertive.properties_0.0-4
 [70] processx_3.4.5             tidyselect_1.1.0           assertive.code_0.0-3      
 [73] magrittr_2.0.1             R6_2.5.0                   generics_0.1.0            
 [76] DBI_1.1.0                  pillar_1.4.7               haven_2.3.1               
 [79] withr_2.3.0                mgcv_1.8-31                assertive.numbers_0.0-2   
 [82] modelr_0.1.8               crayon_1.3.4               assertive.types_0.0-3     
 [85] uuid_0.1-4                 utf8_1.1.4                 rmarkdown_2.5             
 [88] usethis_1.6.1              grid_4.0.2                 readxl_1.3.1              
 [91] data.table_1.13.2          blob_1.2.1                 callr_3.5.1               
 [94] reprex_0.3.0               digest_0.6.27              openssl_1.4.2             
 [97] munsell_0.5.0              viridisLite_0.3.0          assertive.reflection_0.0-5
[100] sessioninfo_1.1.1          askpass_1.1   
cvanderaa commented 3 years ago

Hello @dkgaraujo There seems to be an issue with your processx install. The associated data object is corrupt. Did you already try to remove it (remove.packages("processx")) and install it again (install.packages("processx"))?

dkgaraujo commented 3 years ago

Hi @cvanderaa - thank you for your proposed solution. I can confirm that it worked for me, and I was able to load export. However, as a note for others, I also had to reinstall broom and backports.