Closed cgamboasanabria closed 3 years ago
I believe the solution is to update your R packages.
I believe the solution is to update your R packages.
I already did. All my packages are updated.
Have you restarted R (close RStudio and reopen) then try?
Have you restarted R (close RStudio and reopen) then try?
Yeah, around 10 times. I remove the packages and reinstall them. It is peculiar because it sometimes works fine the first 2-3 times, and then I get the error.
Which version of timetk do you have installed? The latest CRAN version (as of today) is 2.6.1.
Which version of timetk do you have installed? The latest CRAN version (as of today) is 2.6.1.
That's exactly the version I have.
Very odd. Timetk is passing CRAN and Travis tests. It shouldn't error on load. And I'm unable to reproduce the error.
I don't have a solution at the moment.
Hello there, I am also trying to load timetk and get:
Error: package or namespace load failed for ‘timetk’: object 'required_pkgs' not found whilst loading namespace 'timetk'
Can you update recipes? The required packages are related to recipes.
Can you update recipes? The required packages are related to recipes.
That did it... thank you!
Excellent. Please thumbs up the response if you don't mind. Thanks. 👍
@cgamboasanabria does updating recipes work for you?
Hi, just wanted to add that I just had the exact same problem with the same error (object 'required_pkgs' not found whilst loading namespace 'timetk') and updating recipes fixed it.
Hey everyone, the solution seems to be: Update recipes
R package.
Hi!
I'm trying to run some functions with the tidyquant package, but then I've got this error:
Error: .onLoad failed in loadNamespace() for 'timetk', details: call: vector("list", length = ncol(frame_mat))
If I run library(timetk), I've got the same error.
What can I do? I already reinstall R, but it doesn't work.
R version 4.0.3 (2020-10-10) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 19042)
Matrix products: default
locale: [1] LC_COLLATE=Spanish_Mexico.1252 [2] LC_CTYPE=Spanish_Mexico.1252
[3] LC_MONETARY=Spanish_Mexico.1252 [4] LC_NUMERIC=C
[5] LC_TIME=Spanish_Mexico.1252
attached base packages: [1] parallel stats graphics grDevices [5] utils datasets methods base
other attached packages: [1] Hmisc_4.4-2
[2] Formula_1.2-4
[3] survival_3.2-7
[4] ITrade_0.1.0
[5] candlesticks_0.2-9
[6] Rdpack_2.1
[7] rJava_0.9-13
[8] FSelector_0.32
[9] caret_6.0-86
[10] lattice_0.20-41
[11] stackoverflow_0.7.0
[12] later_1.1.0.1
[13] tidyquant_1.0.2
[14] quantmod_0.4.18
[15] TTR_0.24.2
[16] PerformanceAnalytics_2.0.4 [17] xts_0.12.1
[18] zoo_1.8-8
[19] alphavantager_0.1.2
[20] tidyr_1.1.2
[21] dplyr_1.0.3
[22] lubridate_1.7.9.2
[23] magrittr_2.0.1
[24] ggplot2_3.3.3
loaded via a namespace (and not attached): [1] nlme_3.1-149
[2] RColorBrewer_1.1-2
[3] httr_1.4.2
[4] backports_1.2.1
[5] tools_4.0.3
[6] R6_2.5.0
[7] rpart_4.1-15
[8] DBI_1.1.1
[9] colorspace_2.0-0
[10] nnet_7.3-14
[11] withr_2.4.0
[12] tidyselect_1.1.0
[13] gridExtra_2.3
[14] curl_4.3
[15] compiler_4.0.3
[16] cli_2.2.0
[17] htmlTable_2.1.0
[18] entropy_1.2.1
[19] checkmate_2.0.0
[20] scales_1.1.1
[21] randomForest_4.6-14 [22] quadprog_1.5-8
[23] stringr_1.4.0
[24] digest_0.6.27
[25] foreign_0.8-80
[26] htmltools_0.5.1
[27] base64enc_0.1-3
[28] jpeg_0.1-8.1
[29] pkgconfig_2.0.3
[30] parallelly_1.23.0
[31] RWekajars_3.9.3-2
[32] htmlwidgets_1.5.3
[33] rlang_0.4.10
[34] rstudioapi_0.13
[35] carlians_0.1.0
[36] generics_0.1.0
[37] jsonlite_1.7.2
[38] ModelMetrics_1.2.2.2 [39] Matrix_1.2-18
[40] Rcpp_1.0.6
[41] Quandl_2.10.0
[42] munsell_0.5.0
[43] fansi_0.4.2
[44] RWeka_0.4-43
[45] furrr_0.2.1
[46] lifecycle_0.2.0
[47] stringi_1.5.3
[48] pROC_1.17.0.1
[49] gbRd_0.4-11
[50] MASS_7.3-53
[51] plyr_1.8.6
[52] recipes_0.1.15
[53] grid_4.0.3
[54] listenv_0.8.0
[55] crayon_1.3.4
[56] splines_4.0.3
[57] knitr_1.30
[58] pillar_1.4.7
[59] reshape2_1.4.4
[60] codetools_0.2-16
[61] stats4_4.0.3
[62] glue_1.4.2
[63] rsample_0.0.8
[64] latticeExtra_0.6-29 [65] data.table_1.13.6
[66] vctrs_0.3.6
[67] png_0.1-7
[68] foreach_1.5.1
[69] gtable_0.3.0
[70] purrr_0.3.4
[71] future_1.21.0
[72] assertthat_0.2.1
[73] xfun_0.20
[74] gower_0.2.2
[75] rbibutils_2.0
[76] prodlim_2019.11.13
[77] class_7.3-17
[78] timeDate_3043.102
[79] tibble_3.0.5
[80] snow_0.4-3
[81] iterators_1.0.13
[82] cluster_2.1.0
[83] lava_1.6.8.1
[84] globals_0.14.0
[85] ellipsis_0.3.1
[86] ipred_0.9-9