Git Product home page Git Product logo

Comments (5)

haozhu233 avatar haozhu233 commented on August 19, 2024

Err... Usually if you try to install it again, this error will be gone.

If not, you can try

install.packages('kableExtra', repos='https://cloud.r-project.org/')
#or 
install.packages('kableExtra', repos='https://cran.ma.imperial.ac.uk/')

Or any CRAN server addresses on this list https://cran.r-project.org/mirrors.html

from kableextra.

JTORRES531 avatar JTORRES531 commented on August 19, 2024

from kableextra.

julianashwin avatar julianashwin commented on August 19, 2024

I'm also having trouble installing either with install.packages() or using devtools.

Warning: S3 methods ‘as.col_spec.NULL’, ‘as.col_spec.character’, ‘as.col_spec.col_spec’, ‘as.col_spec.default’, ‘as.col_spec.list’, ‘format.col_spec’, ‘output_column.POSIXt’, ‘output_column.default’, ‘output_column.double’, ‘print.col_spec’, ‘print.collector’, ‘print.date_names’, ‘print.locale’ were declared in NAMESPACE but not found Error in library.dynam(lib, package, package.lib) : shared object ‘readr.so’ not found ERROR: lazy loading failed for package ‘kableExtra’ \* removing ‘/home/rstudio/R/x86_64-pc-linux-gnu-library/3.4/kableExtra’ Warning in install.packages : installation of package ‘kableExtra’ had non-zero exit status

Any ideas what's causing this?

from kableextra.

paobranco avatar paobranco commented on August 19, 2024

I had exactly the same problem!
First I tried to install the readr package

install.packages("readr")

I got also an error...

ERROR: failed to lock directory ‘/home/pbranco/R/x86_64-pc-linux-gnu-library/3.4’ for modifying
Try removing ‘/home/pbranco/R/x86_64-pc-linux-gnu-library/3.4/00LOCK-readr’
Warning in install.packages :
  installation of package ‘readr’ had non-zero exit status

So, I followed the suggestion of removing the file 00LOCK-readr.
After have this done, I could install the readr package.
Then, I was also able to install the kableExtra.
And that's it!

from kableextra.

haozhu233 avatar haozhu233 commented on August 19, 2024

@paobranco Thanks for looking into this and provide a solution!

from kableextra.

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.