Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installing kableExtra fails without explanation #504

Open
allefeld opened this issue Nov 28, 2024 · 1 comment
Open

installing kableExtra fails without explanation #504

allefeld opened this issue Nov 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@allefeld
Copy link

If I try to install kableExtra in the webR REPL app using install(kableExtra) and then confirming that I want to try downloading it, first a bunch of packages are downloaded, and then nothing more happens:

> library(kableExtra)
Failed to load package "kableExtra". Do you want to try downloading it from the webR binary repo? 

1: Yes
2: No

Selection: 1
Downloading webR package: evaluate
Downloading webR package: xfun
Downloading webR package: highr
Downloading webR package: yaml
Downloading webR package: knitr
Downloading webR package: magrittr
Downloading webR package: cli
Downloading webR package: glue
Downloading webR package: rlang
Downloading webR package: lifecycle
Downloading webR package: stringi
Downloading webR package: vctrs
Downloading webR package: stringr
Downloading webR package: xml2
Downloading webR package: base64enc
Downloading webR package: fastmap
Downloading webR package: cachem
Downloading webR package: digest
Downloading webR package: htmltools
Downloading webR package: jquerylib
Downloading webR package: jsonlite
Downloading webR package: memoise
Downloading webR package: mime
Downloading webR package: fs
Downloading webR package: R6
Downloading webR package: rappdirs
Downloading webR package: sass
Downloading webR package: bslib
Downloading webR package: fontawesome
Downloading webR package: tinytex
Downloading webR package: rmarkdown
Downloading webR package: farver
Downloading webR package: labeling
Downloading webR package: colorspace
Downloading webR package: munsell
Downloading webR package: RColorBrewer
Downloading webR package: viridisLite
Downloading webR package: scales
Downloading webR package: rstudioapi
Downloading webR package: systemfonts
Downloading webR package: svglite
Downloading webR package: kableExtra

The R console becomes unresponsive.

If I open the developer console, I see:
image

I first encountered this problem in my own code, and reproduced it using the webR REPL app as above.

@georgestagg
Copy link
Member

georgestagg commented Dec 16, 2024

Thank you for reporting this! It looks like this is an issue with our WebAssembly build of the FreeType library in the latest webR builds. The issue is in the symbol _ZN13FreetypeCacheC1Ev trying to call FT_Init_FreeType.

In the meantime, the following previous version of webR should work: https://webr.r-wasm.org/v0.4.2/

Screenshot 2024-12-16 at 14 24 36

@georgestagg georgestagg added the bug Something isn't working label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants