neuroimaginador / fcaR

Tools for Formal Concept Analysis
https://neuroimaginador.github.io/fcaR
GNU General Public License v3.0
16 stars 6 forks source link

Missing dependencies on CRAN #16

Open keinstein opened 4 years ago

keinstein commented 4 years ago

I tried to install fcaR from CRAN:

> install.packages("fcaR")
Installing package into ‘/home/tobias/R/x86_64-pc-linux-gnu-library/4.0’
(as ‘lib’ is unspecified)
Warning in install.packages :
  dependencies ‘Rgraphviz’, ‘graph’ are not available
also installing the dependency ‘hasseDiagram’

versuche URL 'https://cloud.r-project.org/src/contrib/hasseDiagram_0.1.3.tar.gz'
Content type 'application/x-gzip' length 5856 bytes
==================================================
downloaded 5856 bytes

versuche URL 'https://cloud.r-project.org/src/contrib/fcaR_1.0.3.tar.gz'
Content type 'application/x-gzip' length 533920 bytes (521 KB)
==================================================
downloaded 521 KB

ERROR: dependencies ‘Rgraphviz’, ‘graph’ are not available for package ‘hasseDiagram’
* removing ‘/home/tobias/R/x86_64-pc-linux-gnu-library/4.0/hasseDiagram’
Warning in install.packages :
  installation of package ‘hasseDiagram’ had non-zero exit status
ERROR: dependency ‘hasseDiagram’ is not available for package ‘fcaR’
* removing ‘/home/tobias/R/x86_64-pc-linux-gnu-library/4.0/fcaR’
Warning in install.packages :
  installation of package ‘fcaR’ had non-zero exit status

The downloaded source packages are in
    ‘/tmp/RtmppTUXyB/downloaded_packages’

So some packgages needed seem not to be available.

neuroimaginador commented 4 years ago

Hi,

Try to use setRepositories() and select all BioC related repositories, besides those of CRAN.

With this, you can install all dependencies.

Hope this helps

sluhn-patrickcampbell commented 1 year ago

Had the same problem, and the suggested fix worked like a charm! Thanks