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

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

Open
Qiuyanhe opened this issue Dec 19, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Qiuyanhe
Copy link

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

@Qiuyanhe Qiuyanhe added the bug Something isn't working label Dec 19, 2023
@rcorces
Copy link
Collaborator

rcorces commented Dec 19, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants