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

Not installing ComplexHeatmap dependency when installing package from CRAN #126

Open
luifrancgom opened this issue Feb 26, 2024 · 3 comments

Comments

@luifrancgom
Copy link

When trying to install tidyHeatmap the ComplexHeatmap is not installed. Here is my session info and the message:

library(sessioninfo)

session_info(info = "platform")
#> ─ Session info ───────────────────────────────────────────────────────────────
#>  setting  value
#>  version  R version 4.3.2 (2023-10-31 ucrt)
#>  os       Windows 11 x64 (build 22621)
#>  system   x86_64, mingw32
#>  ui       RTerm
#>  language (EN)
#>  collate  English_United States.utf8
#>  ctype    English_United States.utf8
#>  tz       America/Bogota
#>  date     2024-02-25
#>  pandoc   3.1.11 @ C:/Users/Usuario/AppData/Local/Pandoc/ (via rmarkdown)
#> 
#> ──────────────────────────────────────────────────────────────────────────────
install.packages("tidyHeatmap")
#> Installing package into 'C:/Users/Usuario/AppData/Local/R/win-library/4.3'
#> (as 'lib' is unspecified)
#> Warning: dependency 'ComplexHeatmap' is not available
#> package 'tidyHeatmap' successfully unpacked and MD5 sums checked
#> 
#> The downloaded binary packages are in
#>  C:\Users\Usuario\AppData\Local\Temp\RtmpULZcy5\downloaded_packages

Created on 2024-02-25 with reprex v2.1.0

@stemangiola
Copy link
Owner

try to install ComplexHeatmap directly from Bioconductor BiocManager::install, you will probably find that ComplexHeatmap installation is failing for some reason.

@luifrancgom
Copy link
Author

luifrancgom commented Feb 26, 2024

Thank you for your answer @stemangiola and for publishing this wonderful package

I am going to give you more context about why I am reporting this situation.

I am a professor and I am teaching a course related to marketing where I am using packages that allow the students to plot heat maps. In introductory courses about applying R people learn to use the command install.packages and they expect that all the dependencies are installed.

I know I can install the package with the following steps:

  • install.packages("BiocManager", repos = "https://cloud.r-project.org")
  • BiocManager::install("ComplexHeatmap")
  • install.packages("tidyHeatmap")

But believe me for new users this is an entry barrier and they will simply use another package or as a professor I will use other packages to teach the students about R because in an introductory course you will try to reduce the steps in relation to the installation process when using a package.

@stemangiola
Copy link
Owner

In theory all dependencies are installed automatically. I'm not sure why it fits not work in your case.

I will double check if github action installation is failing too.

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