RGLab / cytoinstaller

cyto package Installation from repositories, Including 'bioconductor' and 'GitHub' release
3 stars 0 forks source link

Function install_cyto tries to get a non-existent version of RGLab/COMPASS #3

Open ning-y opened 2 months ago

ning-y commented 2 months ago
+ Rscript -e cytoinstaller::install_cyto(bioc_ver="devel")
Error in cyto_pkg_github_url(pkg, owner, ...) : 
  Error in gh("GET /repos/:owner/:repo/releases/tags/:tag", owner = owner,  : 
  GitHub API error (404): Not Found
✖ URL not found: <https://api.github.com/repos/RGLab/COMPASS/releases/tags/bioc_3.20>
ℹ Read more at <https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name>
Calls: <Anonymous> ... cyto_pkg_deps -> cyto_remote -> cyto_pkg_github_url
Execution halted
ning-y commented 2 months ago

A workaround is set bioc_ver to 3.13, as in

cytoinstaller::install_cyto(bioc_ver="3.13")
ning-y commented 2 months ago

The workaround did not work around this issue for me, turns out. Anyways, a better fix seems to be:

BiocManager::install(c("cytolib", "flowCore", "openCyto", "flowWorkspace"))

As suggested by the package author at: https://github.com/DillonHammill/CytoExploreR/issues/184

I had to follow this up with:

pak::pkg_install("rlbarter/superheat")

Which is an additional dependency of CytoExploreRData, but I did not check if it was a dependency of CytoExploreR itself.