Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in library(bayesmodels) #3

Closed
spsanderson opened this issue Jun 4, 2021 · 3 comments
Closed

Error in library(bayesmodels) #3

spsanderson opened this issue Jun 4, 2021 · 3 comments

Comments

@spsanderson
Copy link

Session Information:

> sessionInfo()
R version 4.0.3 (2020-10-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19041)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252   
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    

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

other attached packages:
 [1] bsts_0.9.6                 BoomSpikeSlab_1.2.4        Boom_0.9.7                
 [4] MASS_7.3-54                bayesforecast_0.0.1        garchmodels_0.1.1         
 [7] rmgarch_1.3-7              rugarch_1.4-4              modeltime.h2o_0.1.1       
[10] h2o_3.32.1.3               modeltime.ensemble_0.4.1   modeltime.resample_0.2.0  
[13] tidyquant_1.0.3            quantmod_0.4.18            TTR_0.24.2                
[16] PerformanceAnalytics_2.0.4 xts_0.12.1                 zoo_1.8-9                 
[19] janitor_2.1.0              DBI_1.1.1                  odbc_1.3.2                
[22] timetk_2.6.1               lubridate_1.7.10           forcats_0.5.1             
[25] stringr_1.4.0              readr_1.4.0                tidyverse_1.3.1           
[28] modeltime_0.6.0            yardstick_0.0.8            workflowsets_0.0.2        
[31] workflows_0.2.2            tune_0.1.5                 tidyr_1.1.3               
[34] tibble_3.1.2               rsample_0.1.0              recipes_0.1.16            
[37] purrr_0.3.4                parsnip_0.1.6              modeldata_0.1.0           
[40] infer_0.5.4                ggplot2_3.3.3              dplyr_1.0.6               
[43] dials_0.0.9                scales_1.1.1               broom_0.7.6               
[46] tidymodels_0.1.3           pacman_0.5.1              

loaded via a namespace (and not attached):
  [1] utf8_1.2.1                  ks_1.13.1                   tidyselect_1.1.1           
  [4] htmlwidgets_1.5.3           grid_4.0.3                  gmp_0.6-2                  
  [7] pROC_1.17.0.1               munsell_0.5.0               codetools_0.2-18           
 [10] xgboost_1.4.1.1             future_1.21.0               withr_2.4.2                
 [13] Brobdingnag_1.2-6           colorspace_2.0-1            rstudioapi_0.13            
 [16] stats4_4.0.3                bayesplot_1.8.0             listenv_0.8.0              
 [19] labeling_0.4.2              GeneralizedHyperbolic_0.8-4 rstan_2.21.2               
 [22] TeachingDemos_2.12          DistributionUtils_0.6-0     bit64_4.0.5                
 [25] DiceDesign_1.9              farver_2.1.0                bridgesampling_1.1-2       
 [28] coda_0.19-4                 parallelly_1.25.0           vctrs_0.3.8                
 [31] generics_0.1.0              ipred_0.9-11                R6_2.5.0                   
 [34] LICHospitalR_0.2.0          bitops_1.0-7                lhs_1.1.1                  
 [37] assertthat_0.2.1            nnet_7.3-16                 forecast_8.15              
 [40] gtable_0.3.0                globals_0.14.0              processx_3.5.2             
 [43] timeDate_3043.102           rlang_0.4.11                Bessel_0.6-0               
 [46] splines_4.0.3               lazyeval_0.2.2              earth_5.3.0                
 [49] SkewHyperbolic_0.4-0        inline_0.3.19               yaml_2.2.1                 
 [52] modelr_0.1.8                crosstalk_1.1.1             backports_1.2.1            
 [55] tools_4.0.3                 lava_1.6.9                  ellipsis_0.3.2             
 [58] ff_4.0.4                    Rsolnp_1.16                 ggridges_0.5.3             
 [61] Rcpp_1.0.6                  plyr_1.8.6                  RCurl_1.98-1.3             
 [64] ps_1.6.0                    prettyunits_1.1.1           rpart_4.1-15               
 [67] fracdiff_1.5-1              haven_2.4.1                 fs_1.5.0                   
 [70] furrr_0.2.2                 magrittr_2.0.1              data.table_1.14.0          
 [73] lmtest_0.9-38               reprex_2.0.0                GPfit_1.0-8                
 [76] truncnorm_1.0-8             mvtnorm_1.1-1               matrixStats_0.59.0         
 [79] hms_1.1.0                   mclust_5.4.7                readxl_1.3.1               
 [82] rstantools_2.1.1            gridExtra_2.3               compiler_4.0.3             
 [85] KernSmooth_2.23-20          V8_3.4.2                    crayon_1.4.1               
 [88] StanHeaders_2.21.0-7        htmltools_0.5.1.1           corpcor_1.6.9              
 [91] pcaPP_1.9-74                Formula_1.2-4               RcppParallel_5.1.4         
 [94] dbplyr_2.1.1                Matrix_1.3-4                cli_2.5.0                  
 [97] quadprog_1.5-8              gower_0.2.2                 pkgconfig_2.0.3            
[100] spd_2.0-1                   numDeriv_2016.8-1.1         plotly_4.9.3               
[103] xml2_1.3.2                  foreach_1.5.1               hardhat_0.1.5              
[106] plotmo_3.6.0                prodlim_2019.11.13          rvest_1.0.0                
[109] snakecase_0.11.0            callr_3.7.0                 digest_0.6.27              
[112] pracma_2.3.3                cellranger_1.1.0            curl_4.3.1                 
[115] urca_1.3-0                  nloptr_1.2.2.2              lifecycle_1.0.0            
[118] nlme_3.1-152                jsonlite_1.7.2              tseries_0.10-48            
[121] viridisLite_0.4.0           fansi_0.5.0                 pillar_1.6.1               
[124] loo_2.4.1                   lattice_0.20-44             plotrix_3.8-1              
[127] httr_1.4.2                  pkgbuild_1.2.0              survival_3.2-11            
[130] glue_1.4.2                  iterators_1.0.13            bit_4.0.4                  
[133] class_7.3-19                stringi_1.6.2               prophet_1.0                
[136] Quandl_2.10.0               blob_1.2.1                  Rmpfr_0.8-4       

Error Message:

> library("bayesmodels")
Error: package or namespace load failed forbayesmodelsin get(method, envir = home):
 lazy-load database 'C:/Users/bha485/Documents/R/win-library/4.0/bayesmodels/R/bayesmodels.rdb' is corrupt
In addition: Warning messages:
1: packagebayesmodelswas built under R version 4.0.5 
2: In .registerS3method(fin[i, 1], fin[i, 2], fin[i, 3], fin[i, 4],  :
  restarting interrupted promise evaluation
3: In get(method, envir = home) :
  restarting interrupted promise evaluation
4: In get(method, envir = home) : internal error -3 in R_decompress1
@AlbertoAlmuinha
Copy link
Owner

Hi @spsanderson ,

Have you tried restarting R? From what I have seen it is a known problem that happens from time to time and is not package - specific.

In the next thread people say they solved it by restarting R, otherwise another option would be to manually delete the attempted installation, reboot and reinstall.

lme4/lme4#407

@spsanderson
Copy link
Author

spsanderson commented Jun 7, 2021 via email

@spsanderson
Copy link
Author

That worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants