Comments (9)
for MacOS users, do you have XQuartz installed?
from hexsticker.
Installing XQuartz solved the problem for me! Thanks @GuangchuangYu
from hexsticker.
Error : .onLoad failed in loadNamespace() for 'sysfonts', details:
you need to re-install sysfonts
.
from hexsticker.
Same error (macOS 10.13.2, R 3.4.x); tried remove.packages(sysfonts); install.packages(sysfonts)
and still get same error. The referenced file is in fact in that folder. Not sure if it's a permissions error or something trying to call the binary object.
from hexsticker.
I am getting this same error as well.
I can install the sysfonts package without any problem, and can run functions like sysfonts::font_files()
and sysfonts::font_paths()
interactively. The output I get is sensible and nothing breaks.
> sysfonts::font_paths()
[1] "/Library/Fonts" "/Users/juliasilge/Library/Fonts"
When I use the reprex package and run the same code, I get the error:
sysfonts::font_paths()
#> Error: .onLoad failed in loadNamespace() for 'sysfonts', details:
#> call: dyn.load(file, DLLpath = DLLpath, ...)
#> error: unable to load shared object '/Library/Frameworks/R.framework/Versions/3.4/Resources/library/sysfonts/libs/sysfonts.so':
#> dlopen(/Library/Frameworks/R.framework/Versions/3.4/Resources/library/sysfonts/libs/sysfonts.so, 6): Library not loaded: /opt/X11/lib/libfreetype.6.dylib
#> Referenced from: /Library/Frameworks/R.framework/Versions/3.4/Resources/library/sysfonts/libs/sysfonts.so
#> Reason: image not found
I am not 100% sure everything that reprex does, but it seems like something is going on with the user or permissions or session or something? And the installation process is obviously more like reprex than like whatever I am doing interactively.
from hexsticker.
I am having exactly the same problem as described above, with the same error messages. Would appreciate any support you could provide with regards to this issue.
from hexsticker.
Installing XQuartz did not solve the problem for me
from hexsticker.
This is addressed in #56.
from hexsticker.
Installing XQuartz worked for me too. Thanks @GuangchuangYu !
from hexsticker.
Related Issues (20)
- Package name to accept `expression()` HOT 3
- is there a way to add a matrix? HOT 1
- h_size > 3 (large hexagon border thickness) crops off hexagon points HOT 1
- need add theme(legend.position="none") with ggplot2 plot HOT 1
- Strip above plot HOT 1
- top and bottom corners cut off HOT 2
- Error when trying to create an "empty" sticker (only with package name) HOT 2
- Can package name text be roated? HOT 1
- png error in creating in using sticker function HOT 6
- README.Rmd renders into .html instead of .md HOT 1
- Can sticker provide a transparent_around_sticker argument?
- Problem with example HOT 1
- R tells me <the "sticker" function could not be found>
- Border always cut off in .png or .svg HOT 4
- Feature Request: Multi-line package names (or control over ggplot's lineheight argument) HOT 2
- https://saythanks.io/to/GuangchuangYu link is broken :(
- Specify sticker dimensions HOT 2
- [Suggestion] Code for preview hexSticker. HOT 2
- Typo in README HOT 1
- Poor Quality Sticker when Saving on Windows
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 hexsticker.