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

Error when install HybridChenck form githup #28

Closed
yexiaying opened this issue Dec 18, 2019 · 5 comments
Closed

Error when install HybridChenck form githup #28

yexiaying opened this issue Dec 18, 2019 · 5 comments

Comments

@yexiaying
Copy link

I installed HybridCheck failed from githup. The error messages are as follows:
image
You mentioned a windows GUI version can be get from HybridCheck website in your supporting file Appendix S2, but I can not find it. where can I get this version.

@TransGirlCodes
Copy link
Collaborator

TransGirlCodes commented Dec 19, 2019

Do you have Biostrings, and IRanges installed from BioConductor? They are required for HybridCheck to work.

I've been looking for a while for a solution to the problem of Bioconductor dependencies, since they have their own little system for installing and managing packages.

I think there is a solution. If instead of using devtools::install_github, you use remotes::install_github to install HybridCheck, it should make sure you have all the dependencies, including the Bioconductor ones.

Try

install.packages("remotes")
library(remotes)
remotes::install_github("BenJWard/HybridCheck", build_vignettes = T)

See if that works. If not it means the vignette is not building for some other reason we'll have to figure out.

@yexiaying
Copy link
Author

I tried the way you mentioned but failed. I have install the Biostrings and IRanges from BioConductor, and I can load these packages sucessfully in my Rstudio. But it still showed that these two packages not available when install the HybridCheck package. the R version I used is 3.6.2.
image

@TransGirlCodes
Copy link
Collaborator

TransGirlCodes commented Dec 23, 2019

@yexiaying Ok this is what I could expect to see on my machine:

The downloaded binary packages are in
	/var/folders/h0/fmczc7390c7f_ddk7yxc47h801tjlx/T//Rtmpht3xas/downloaded_packages
   checking for file/private/var/folders/h0/fmczc7390c7f_ddk7yxc47h801tjlx/T/Rtmpht3xas/remoteschecking for file/private/var/folders/h0/fmczc7390c7f_ddk7yxc47h801tjlx/T/Rtmpht3xas/remotesb61523b2e11c/BenJWard-HybridCheck-9203bac/DESCRIPTION’
─  preparingHybridCheck:checking DESCRIPTION meta-information ...installing the package to build vignettescreating vignettes (1m 11.2s)
─  checking for LF line-endings in source and make files and shell scriptschecking for empty or unneeded directorieslooking to see if adata/datalistfile should be addedbuildingHybridCheck_1.0.1.tar.gz

But it looks like your process stalls when trying to build the user manual. So my next suggestion would be to make sure that packages like 'knitr' are installed, as they are what are used now to build vignettes... it often comes with RStudio. You can also try remotes::install_github("BenJWard/HybridCheck", build_vignettes = F) which would skip trying to build the user manual vignette. If that command works, then we have succesfully found the issue is the packages you need to build the manual.

@yexiaying
Copy link
Author

I tried remotes::install_github("BenJWard/HybridCheck", build_vignettes = F) and it worked. Thank you very much!

@TransGirlCodes
Copy link
Collaborator

Great! If you need to build the manual, try ensuring knitr is installed first.

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