Comments (5)
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.
from kableextra.
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.
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.
@paobranco Thanks for looking into this and provide a solution!
from kableextra.
Related Issues (20)
- kable_classic now creates HTML when kbl format is "pipe" HOT 2
- Add Borders in Align? HOT 3
- Table does not show up with content in html, only lines (sequential kable tables mystery) HOT 2
- Enable row_spec() to modify specific rows of multirow headers or provide a separate function to do so. HOT 3
- Add extra_latex_after= argument to add_header_above() --- Happy to implement. HOT 3
- KableExtra can not deal with cells start with < HOT 1
- version 1.4.0 of kableExtra, save_kable() does not export the pdf as formatted in html HOT 2
- Double "Table" in caption HOT 4
- `collapse_rows` does not work with col.names set to empty string HOT 1
- When setting hline_after = TRUE in the row_spec() function for PDF (LaTeX) output, an extra line break is inserted in the LaTeX \midrule. HOT 2
- `cell_spec(..., italic = TRUE)` gives incorrect format for PDF table HOT 4
- 当表头是中文的情况下,生成的表格内容错位 HOT 6
- Math symbols in add_header_above escaped when rjtools generates a LaTeX pdf HOT 8
- hline_after in row_spec adds unwanted extra line for latex output HOT 2
- table caption adds [H] when i use HOLD_position option in kable_styling in pdf output HOT 4
- pack_rows() creates an indentation in table produced with kable in rmarkdown
- row_spec causes "! Undefined control sequence." HOT 1
- HTML escape = FALSE broken since 1.4.0 unless format explicitly declared HOT 2
- collapse_rows () has problem with columns HOT 1
- latex_options creates second table label in distilled output HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kableextra.