This is a test version of Biostars. For the public version, visit https://www.biostars.org.
I encountered a problem while installing packager 'ChIPseeker'

I am trying to install ChIPseeker on the lab server. I have never encountered such a problem on my own computer before.

> library(ChIPseeker)
Error: package or namespace load failed for ‘ChIPseeker’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
 there is no package called ‘curl’
chipseeker curl biocmanager
 there is no package called ‘curl’ 

install this first

install.packages("curl")

I tried, and the error message is as follows:

In file included from ada.cpp:3:0:
ada.h:5255:10: fatal error: charconv: No such file or directory
 #include <charconv>
          ^~~~~~~~~~
compilation terminated.
/usr/lib/R/etc/Makeconf:200: recipe for target 'ada.o' failed
make: *** [ada.o] Error 1
ERROR: compilation failed for package ‘curl’

you have windows or linux(cent OS or ubuntu)?

The server appears to operate based on Ubuntu.

sudo apt install curl 

this one should fix

I do not have administrator rights on the server and cannot use the sudo command. It seems that I can only download the data to my computer for downstream analysis. Anyway, thank you for your advice.

Create a conda environment. You don't need admin privileges and can install almost anything you need.

0 answers

No answers yet.

Log in to answer this question.