wilkelab / ggtext

Improved text rendering support for ggplot2
https://wilkelab.org/ggtext/
GNU General Public License v2.0
655 stars 37 forks source link

Bold and italics not working with R 4.2.0. #83

Open clauswilke opened 2 years ago

clauswilke commented 2 years ago

This is a known issue that has been fixed in gridtext: https://github.com/wilkelab/gridtext/issues/24

I'll try to get a fixed gridtext onto CRAN as soon as possible. In the meantime, installing the development version of gridtext will fix the issue.

Leaving this issue open until gridtext is on CRAN.

AritriSanyal commented 2 years ago

While trying to download the development version of gridtext, I keep getting an error saying zero-exit status, and it does not get downloaded, any guidance regarding this?

tommywht commented 2 years ago

I got the same problem. Solved by removing the gridtext package and redownloading it. So basically:

remove.packages("gridtext")

then restart the R session, then

remotes::install_github("wilkelab/gridtext")
AritriSanyal commented 2 years ago

I was having errors regarding the version of Rtools, due to which the development version of gridtext was not getting installed. Just figured it out as well. Thanks!

MaxandreJ commented 2 years ago

Thanks! This fixed it for me. I also had the problem with RTools, you need to install version 4.2 from https://cran.r-project.org/bin/windows/Rtools/ and then remotes::install_github("wilkelab/gridtext") works.

nicocriscuolo commented 1 year ago

I got the same problem. Solved by removing the gridtext package and redownloading it. So basically:

remove.packages("gridtext")

then restart the R session, then

remotes::install_github("wilkelab/gridtext")

Thanks, this fixed the issue for me.