bhklab / survcomp

R package for performance assessment and comparison for survival analysis
https://bioconductor.org/packages/release/bioc/html/survcomp.html#since
9 stars 7 forks source link

Survcomp availability #7

Open francescomannelli opened 3 years ago

francescomannelli commented 3 years ago

I have been really interested in the package survcomp you have recently released, and specifically I was trying to compare two C indexes of two prognostic models that I am testing in patients with myelofibrosis. Although I have updated my version of R on Mac to 4.1.1, the software gives me back the message "this package is not available for this version of R". The detailed message is reported below. Thanks a lot Francesco

Avvertimento: unable to access index for repository https://cran.stat.unipd.it/bin/macosx/contrib/4.1: non è possibile aprire URL 'https://cran.stat.unipd.it/bin/macosx/contrib/4.1/PACKAGES' Messaggio di avvertimento: il pacchetto ‘survcomp’ non è disponibile for this version of R

bhaibeka commented 3 years ago

Please try to install the package from source: https://stackoverflow.com/questions/1474081/how-do-i-install-an-r-package-from-source

ChristopherEeles commented 3 years ago

Hi @francescomannelli,

The survcomp package is no longer available on CRAN. We migrated to Bioconductor instead due to the medical/biological nature of survival analysis. You can install the package using the following:

if (!require(BiocManager)) install.packages("BiocManager")
BiocManager::install("survcomp")

If this doesn't resolve your issue, please provide me with:

  1. Your operating system version
  2. The results for sessionInfo() from R

Best, Chris | Software Developer | PM-Research @ UHN

francescomannelli commented 3 years ago

Dear Christopher, thanks for your help. I ran the script you provided but it didn't work. My OS is macOS Big Sur v. 11.5.2 Below the report from R: R version 4.1.1 (2021-08-10) Platform: x86_64-apple-darwin17.0 (64-bit) Running under: macOS Big Sur 11.5.2

Matrix products: default BLAS: /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRblas.0.dylib LAPACK: /Library/Frameworks/R.framework/Versions/4.1/Resources/lib/libRlapack.dylib

Random number generation: RNG: Mersenne-Twister Normal: Inversion Sample: Rounding

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

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

loaded via a namespace (and not attached): [1] fansi_0.5.0 dplyr_1.0.7 crayon_1.4.1 utf8_1.2.2 [5] grid_4.1.1 R6_2.5.1 lifecycle_1.0.0 gtable_0.3.0 [9] magrittr_2.0.1 scales_1.1.1 ggplot2_3.3.5 pillar_1.6.2 [13] rlang_0.4.11 generics_0.1.0 vctrs_0.3.8 ellipsis_0.3.2 [17] glue_1.4.2 purrr_0.3.4 munsell_0.5.0 compiler_4.1.1 [21] pkgconfig_2.0.3 colorspace_2.0-2 tidyselect_1.1.1 tibble_3.1.4

Thank you very much indeed. Best Francesco

Il giorno gio 2 set 2021 alle ore 02:04 Christopher Eeles < @.***> ha scritto:

Hi @francescomannelli https://github.com/francescomannelli,

The survcomp package is no longer available on CRAN. We migrated to Bioconductor instead due to the medical/biological nature of the survival analysis. You can install the package using the following:

if (!require(BiocManager') install.packages("BiocManager") BiocManager::install("survcomp")

If this doesn't resolve your issue, please provide me with:

  1. Your operating system version
  2. The results for sessionInfo() from R

Best, Chris | Software Developer | PM-Research @ UHN

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bhklab/survcomp/issues/7#issuecomment-910928525, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVN7OFYJZJSYH5FMA3ALDZDT725SDANCNFSM5DGHEWIQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

ChristopherEeles commented 3 years ago

Hi @francescomannelli,

Sorry I haven't forgotten about you. I just added a GitHub actions workflow which should try to build the package on Windows, macOS and Linux. Hopefully, that will give some insight into your failed installation.

Best, Chris

francescomannelli commented 3 years ago

Thank you very much indeed. Best Francesco

Il giorno lun 27 set 2021 alle ore 22:48 Christopher Eeles < @.***> ha scritto:

Hi @francescomannelli https://github.com/francescomannelli,

Sorry I haven't forgotten about you. I just added a GitHub actions workflow which should try to build the package on Windows, macOS and Linux. Hopefully, that will give some insight into your failed installation.

Best, Chris

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bhklab/survcomp/issues/7#issuecomment-928264359, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVN7OF6WXALULNXFLSCVCALUEDKCBANCNFSM5DGHEWIQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.