Closed zzwzz1998 closed 10 months ago
sessionInfo() R version 4.2.2 (2022-10-31) Platform: aarch64-apple-darwin20 (64-bit) Running under: macOS Ventura 13.0
Matrix products: default BLAS: /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/lib/libRblas.0.dylib LAPACK: /Library/Frameworks/R.framework/Versions/4.2-arm64/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] caret_6.0-93 lattice_0.20-45 ggplot2_3.4.0 dplyr_1.0.10 fstcore_0.9.14 ricu_0.5.4
loaded via a namespace (and not attached):
[1] Rcpp_1.0.10 lubridate_1.9.1 listenv_0.9.0 class_7.3-20 assertthat_0.2.1 digest_0.6.31
[7] ipred_0.9-13 foreach_1.5.2 utf8_1.2.2 parallelly_1.34.0 R6_2.5.1 plyr_1.8.8
[13] backports_1.4.1 stats4_4.2.2 hardhat_1.2.0 pillar_1.8.1 rlang_1.0.6 curl_5.0.0
[19] prt_0.1.5 data.table_1.14.6 eicu.demo_1.0.1 rpart_4.1.19 Matrix_1.5-1 splines_4.2.2
[25] stringr_1.5.0 gower_1.0.1 readr_2.1.3 bit_4.0.5 munsell_0.5.0 compiler_4.2.2
[31] pkgconfig_2.0.3 globals_0.16.2 nnet_7.3-18 tidyselect_1.2.0 tibble_3.1.8 prodlim_2019.11.13
[37] codetools_0.2-18 fansi_1.0.4 future_1.30.0 crayon_1.5.2 tzdb_0.3.0 withr_2.5.0
[43] ModelMetrics_1.2.2.2 MASS_7.3-58.1 recipes_1.0.4 grid_4.2.2 nlme_3.1-160 jsonlite_1.8.4
[49] gtable_0.3.1 lifecycle_1.0.3 magrittr_2.0.3 pROC_1.18.0 scales_1.2.1 stringi_1.7.12
[55] future.apply_1.10.0 cli_3.6.0 vroom_1.6.1 reshape2_1.4.4 remotes_2.4.2 timeDate_4022.108
[61] ellipsis_0.3.2 generics_0.1.3 vctrs_0.5.2 fst_0.9.8 lava_1.7.1 iterators_1.0.14
[67] tools_4.2.2 bit64_4.0.5 glue_1.6.2 purrr_1.0.1 mimic.demo_1.0.1 hms_1.1.2
[73] parallel_4.2.2 survival_3.4-0 timechange_0.2.0 colorspace_2.1-0
rlang::last_error() <error/physionet_login> Error in
stop_ricu()
: ! Access to the requested resource was denied. Please set up an account at https://physionet.org/ and apply for data access.Backtrace:
- base::as.data.frame(miiv$admissions)
- ricu (local)
<fn>
()- ricu:::setup_src_data.src_cfg(src, data_dir = dir)
- ricu:::download_src.src_cfg(x, data_dir, tables = todo, force = force)
- ricu:::download_check_data(...)
- ricu:::get_sha256(url, user, pass)
- ricu:::download_pysionet_file(...)
- ricu:::stop_ricu(...) Run
rlang::last_trace()
to see the full context.
Hello, I also faced this problem, please tell me how you solved it
@zzwzz1998
ricu
has the version of miiv hardcoded here:
You thus need to sign the user agreement for that particular version here.
ricu
has the version of miiv hardcoded here:You thus need to sign the user agreement for that particular version here.
I try to run the code. (And i have signed the user agreement within physionet.) I get problems in the end:
pkg_dir <- rprojroot::find_root(rprojroot::is_r_package) Error: No root directory found in C:/Users/shayd/OneDrive/Escritorio or its parent directories. Root criterion: contains a file "DESCRIPTION" with contents matching "^Package: "
Do you know to solve it?
Thanks in advance.
MIMIC-IV (miiv
in ricu
) was bumped to v2.2
in ricu 0.6.0
. Please try re-running the setup, and if problems persist, feel free to open a new issue.
I have obtained the relevant access rights and entered the correct account password, but still cannot access the data
''' Data for
miiv
is missing Setup now (Y/n)? Y username: XXXXX password: XXXXX Error instop_ricu()
: ! Access to the requested resource was denied. Please set up an account at https://physionet.org/ and apply for data access. Runrlang::last_error()
to see where the error occurred. '''