-
Notifications
You must be signed in to change notification settings - Fork 17
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
match_font crashes R #15
Comments
I cannot reproduce this. Can I get you to try on another windows computer to see if it is specific to your machine..? |
HI, I am not able to reproduce neither but I some users are facing the same issue.
Possible actions: A
|
@davidgohel so it prints the nibble, but then crashes? That is extremely weird as it indicates that the compiled code has finished executing... Can I get you to try with the devel version and report back? quite a lot has changed... |
It seems so. I will ask the user and see if he can help as for me everything is OK. Thanks! |
@NicolasStefaniak Sorry to bother. As you are facing that issue and it's difficult to reproduce, would you be ok to install the latest devel version of |
Dear Thomas, dear David, It worked well on windows but the installation failed on macbook pro, with macOS Catalina. I'm going to try again tonight or tomorrow. |
Nicolas, use this command instead :)
|
sorry, it was what I have tested. I will try again. |
How has freetype been installed? With Brew? |
I followed the instructions here : |
hmm... that is weird |
Can you install this binary version? https://drive.google.com/file/d/1_qgYvSzQcGVSSGot1pFvJKHu1ITktLKK/view?usp=sharing |
I can install this version but the behavior is exactly the same : it works when I launch R from Terminal but not when I use the R GUI.
|
Well, that at least confirms that the issue has not yet been resolved. Can you call |
It depends if R is launched from Terminal or from R GUI. From terminal, it works well, from R GUI, R crashes.
Possible actions: |
So, it begins printing the output, but then crashes afterwards? What happens if you don’t print it but saves it in a variable instead? |
it crashes without output |
That is an incredibly weird bug |
@NicolasStefaniak can I get you to test with this version: https://drive.google.com/file/d/1_qgYvSzQcGVSSGot1pFvJKHu1ITktLKK/view?usp=sharing It's a bit fixing in the blind, but I just want to test before we go deeper |
|
@NicolasStefaniak Just to be sure - the crash happens with RStudio as well? |
@NicolasStefaniak I'm pretty sure this is fixed now. I'm closing, but feel free to reopen if the issue persists |
Hi @thomasp85, since moving from Windows to a Mac I have several issues when working with typefaces and {systemfonts} in R and RStudio. My problem is the same as discussed above. I have just installed the latest dev version, updated R and RStudio, and checked that the font files are properly installed. But the crash still happens, either after calling I have the feeling it is related to the installed font files (which work seamlessly in all other applications) but can't figure out how to fix this. I even have removed all my personal typefaces but R is still crashing. Any input is highly appreciated. |
do you see the same difference between guy and terminal as described above? |
I haven't tried the terminal yet but in the meantime I was able to figure out that variable font files seem to cause the issue. Not sure if it was causing the original issue (crashing R when calling e.g. |
Hey @thomasp85, I am again facing issues with the systemfonts package on my Mac, similar to the behavior described in the original issue. It also crashes without any custom fonts installed in the R GUI (and in Rstudio and VS Code as well).
No output is printed, it crashes immediately. The same happens when saving the output to an object. Interestingly, Running systemfonts code in lldb results in the following:
What I have tried so far:
Any idea what is going on? (Also, let me know if I should turn this into a new issue instead of commenting on this old one here.) When loading the geomtextpath package, it also crashes as it ultimatively calls
Session info:
|
@z3tt yes, please open a new issue |
This can be closed as the recent discussion was moved to a new issue #113. |
In running match_font('sans', italic = TRUE), R crashes. It just abruptly closes, and if I run in RStudio, it aborts the session by saying R encountered a fatal error. I am on windows 10 and am running R 3.6.1.
Edit: In fact, it crashes on every single function used in systemfonts.
The text was updated successfully, but these errors were encountered: