GreenleafLab / ArchR

ArchR : Analysis of Regulatory Chromatin in R (www.ArchRProject.com)
MIT License
384 stars 137 forks source link

Can not install ArchR by downloading zip from github under conda environment #2078

Open Qiuyanhe opened 10 months ago

Qiuyanhe commented 10 months ago

To install ArchR, I created a conda environment and installed R4.3.2 as well as related packages. Since the server I use can not connect Internet, I can only download zip file from https://github.com/GreenleafLab/ArchR and unzip it. When I try to install it in R using the code install.packages("/ArchR-master", repos = NULL, type="source")

It reports: x86_64-conda-linux-gnu/include/c++/11.2.0/ctime:80:11: error: 'timespec_get' has not been declared in '::' 80 | using ::timespec_get; | ^~~~ make: *** [/lib/R/etc/Makeconf:200: Correlation.o] Error 1 ERROR: compilation failed for package ‘ArchR’

tempsnip

If I use the code: install.packages("/ArchR-master.zip", repos = NULL, type="source") Then it reports: Error in rawToChar(block[seq_len(ns)]) : embedded nul in string: 'PK\003\004\n\0\0\0\0\0\xed-\xb1V\0\0\0\0\0\0\0\0\0\0\0\0\r\0\t\0ArchR-master/UT\005\0\001\xdf\xccddPK\003\004\n\0\0\0\b\0\xed-\xb1V\xae&r\xe6X\r\0\0\004@\0\0\026\0\t\0ArchR-master/.DS_S'

tempsnip2

rcorces commented 10 months ago

Hi @Qiuyanhe! Thanks for using ArchR! Please make sure that your post belongs in the Issues section. Only bugs and error reports belong in the Issues section. Usage questions and feature requests should be posted in the Discussions section, not in Issues.
It is worth noting that there are very few actual bugs in ArchR. If you are getting an error, it is probably something specific to your dataset, usage, or computational environment, all of which are extremely challenging to troubleshoot. As such, we require reproducible examples (preferably using the tutorial dataset) from users who want assistance. If you cannot reproduce your error, we will not be able to help. Before going through the work of making a reproducible example, search the previous Issues, Discussions, function definitions, or the ArchR manual and you will likely find the answers you are looking for. If your post does not contain a reproducible example, it is unlikely to receive a response.
In addition to a reproducible example, you must do the following things before we help you, unless your original post already contained this information: 1. If you've encountered an error, have you already searched previous Issues to make sure that this hasn't already been solved? 2. Did you post your log file? If not, add it now. 3.__ Remove any screenshots that contain text and instead copy and paste the text using markdown's codeblock syntax (three consecutive backticks). You can do this by editing your original post.