-1

I'm trying to install ArchR to replicate Step 2 in this GitHub repo

I am following the Installation of ArchR steps, but when I execute this line:

devtools::install_github("GreenleafLab/ArchR", ref="master", repos = BiocManager::repositories())

it is returning this result:

* DONE (BSgenome)
ERROR: dependency ‘DirichletMultinomial’ is not available for package ‘TFBSTools’
Perhaps try a variation of:
install.packages('DirichletMultinomial')
* removing ‘/home/mmr/R/x86_64-pc-linux-gnu-library/4.5/TFBSTools’
ERROR: dependency ‘TFBSTools’ is not available for package ‘motifmatchr’
Perhaps try a variation of:
install.packages('TFBSTools')
* removing ‘/home/mmr/R/x86_64-pc-linux-gnu-library/4.5/motifmatchr’
ERROR: dependency ‘TFBSTools’ is not available for package ‘chromVAR’
Perhaps try a variation of:
install.packages('TFBSTools')
* removing ‘/home/mmr/R/x86_64-pc-linux-gnu-library/4.5/chromVAR’

The downloaded source packages are in
    ‘/tmp/RtmpzUmHet/downloaded_packages’
Downloading GitHub repo GreenleafLab/chromVARmotifs@HEAD
Skipping chromVARmotifs, it is already being installed
Skipping install of 'presto' from a github remote, the SHA1 (7636b3d0) has not changed since last install.
  Use `force = TRUE` to force installation
── R CMD build ───────────────────────────────────────────────────────────────
✔  checking for file ‘/tmp/RtmpzUmHet/remotes47c87266ad19c/GreenleafLab-ArchR-6feec35/DESCRIPTION’ ...
─  preparing ‘ArchR’:
✔  checking DESCRIPTION meta-information ...
─  cleaning src
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  building ‘ArchR_1.0.3.tar.gz’ (652ms)
   Warning in utils::tar(filepath, pkgname, compression = compression, compression_level = 9L,  :
     storing paths of more than 100 bytes is not portable:
     ‘ArchR/.github/ISSUE_TEMPLATE/bug-error-report---no-usage-questions---feature-requests--use-discussions--.md’
   
Installing package into ‘/home/mmr/R/x86_64-pc-linux-gnu-library/4.5’
(as ‘lib’ is unspecified)
ERROR: dependencies ‘chromVAR’, ‘chromVARmotifs’, ‘motifmatchr’ are not available for package ‘ArchR’
Perhaps try a variation of:
install.packages(c('chromVAR', 'chromVARmotifs', 'motifmatchr'))
* removing ‘/home/mmr/R/x86_64-pc-linux-gnu-library/4.5/ArchR’
Warning messages:
1: In i.p(...) :
  installation of package ‘DirichletMultinomial’ had non-zero exit status
2: In i.p(...) :
  installation of package ‘TFBSTools’ had non-zero exit status
3: In i.p(...) :
  installation of package ‘/tmp/RtmpzUmHet/file47c87723c16ad/chromVARmotifs_0.2.0.tar.gz’ had non-zero exit status
4: In i.p(...) :
  installation of package ‘DirichletMultinomial’ had non-zero exit status
5: In i.p(...) :
  installation of package ‘TFBSTools’ had non-zero exit status
6: In i.p(...) :
  installation of package ‘motifmatchr’ had non-zero exit status
7: In i.p(...) :
  installation of package ‘chromVAR’ had non-zero exit status
8: In i.p(...) :
  installation of package ‘/tmp/RtmpzUmHet/file47c87758d14fd/ArchR_1.0.3.tar.gz’ had non-zero exit status

So because the above had some issues, when I run:

library(ArchR)

it returns:

Error in library(ArchR) : there is no package called ‘ArchR’

I am doing this on a Linux computer, and am using R 4.5.2.

2
  • 1
    Have you followed the advice in the error log? If so, what happened? Commented Nov 18 at 23:23
  • 2
    The three packages missing c('chromVAR', 'chromVARmotifs', 'motifmatchr') appear to be only available in that author's repo. I think you need to manually install them using install_github(..) as well. Commented Nov 19 at 3:44

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.