Skip to content

Failing to install epiCo in Ubuntu 22.04 LTR #56

@alejandrocs98

Description

@alejandrocs98

Please place an "x" in all the boxes that apply

  • I have the most recent version of linelist and R
  • [ X] I have found a bug
  • I have a reproducible example
  • I want to request a new feature

Please include a brief description of the problem with a code example:
I am trying to install epiCo on my PC with Ubuntu 22.04 LTR via conda but failed. I created a conda virtual environment specifically for installing the package and previous to the installation attempt I installed R (v4.2) and r-remotes (2.4.2) packages from the r anaconda channel. Then I opened an R session and run:

remotes::install_github("epiverse-trace/epiCo")

After a period loading I obtained the following error:

ERROR: dependency ‘raster’ is not available for package ‘leaflet’
* removing ‘/home/acs98/anaconda3/envs/epico/lib/R/library/leaflet’

The downloaded source packages are in
	‘/tmp/RtmpinhsiP/downloaded_packages’
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Running `R CMD build`...
* checking for file ‘/tmp/RtmpinhsiP/remotes5a40353abc3f/epiverse-trace-epiCo-62dff7d/DESCRIPTION’ ... OK
* preparing ‘epiCo’:
* checking DESCRIPTION meta-information ... OK
* checking for LF line-endings in source and make files and shell scripts
* checking for empty or unneeded directories
* building ‘epiCo_0.2.tar.gz’
ERROR: dependencies ‘spdep’, ‘leaflet’ are not available for package ‘epiCo’
* removing ‘/home/acs98/anaconda3/envs/epico/lib/R/library/epiCo’
Warning messages:
1: In i.p(...) : installation of package ‘terra’ had non-zero exit status
2: In i.p(...) :
  installation of package ‘stringi’ had non-zero exit status
3: In i.p(...) : installation of package ‘units’ had non-zero exit status
4: In i.p(...) : installation of package ‘raster’ had non-zero exit status
5: In i.p(...) : installation of package ‘sf’ had non-zero exit status
6: In i.p(...) : installation of package ‘spdep’ had non-zero exit status
7: In i.p(...) :
  installation of package ‘leaflet’ had non-zero exit status
8: In i.p(...) :
  installation of package ‘/tmp/RtmpinhsiP/file5a404ee4a0ef/epiCo_0.2.tar.gz’ had non-zero exit status

![Screenshot from 2023-10-18 14-56-59](https://github.com/epiverse-trace/epiCo/assets/87541159/2ff3e1d8-ab41-4de8-b2dc-cabf2e23d021)


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions