GithubHelp home page GithubHelp logo

Comments (3)

jimhester avatar jimhester commented on June 12, 2024

Did you check that pkg-config is in your path and that pkg-config --cflags libarchive returns something?

from archive.

JackieMium avatar JackieMium commented on June 12, 2024

this is odd:

➜  ~ which pkg-config 
/usr/bin/pkg-config
➜  ~ pkg-config --version
0.29.2
➜  ~ pkg-config --cflags libarchive 

➜  ~ pkg-config --list-all|grep libarchive
libarchive                     libarchive - library that can create and read several streaming archive formats

This error only happens in an R session under a conda environment. I have vanilla R installed via apt install from Debian official repo and I issued devtools::install_github("jimhester/archive") in a fresh new startup session, archive was successfully installed without any error. But when I launch a conda-R session and install archive package there, the above error persisted.

conda R version is 3.6.3 (2020-02-29) and debian repo R version is 4.0.3 (2020-10-10).

from archive.

jimhester avatar jimhester commented on June 12, 2024

I don't know, there must be an issue with pkg-config installed in the conda environment or something like that. I don't know anything about conda and in general don't think it is wise to use it with R packages, you will have to get assistance elsewhere.

As I don't believe this is an issue with the archive package I am closing this issue.

from archive.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.