Closed Felixmil closed 1 year ago
For some reason, the factor order for groups is different in local than appveyor, causing the build to fail.
Appveyor's snapshot:
Local's snapshot:
@pchelle any idea why it does that ?
* Use ggtext and stringr as new dependency (both validated)
I did not know that ggtext
was already validated.
If so, that means we could include markdown content within plots ! :)
But we would need to spread all this to the other texts/labels (e.g. axis.text
, axis.title
, etc.) correct ?
A lot of snapshots will break on ospsuiteR
Potentially also on Reporting Engine. Not sure if this will crash or not some plots or change their look.
I also don't know how the translation of the fonts from showtext
will perform.
@pchelle any idea why it does that ?
One of my guesses is that depending on one or some of the versions of your packages, the legend ordering may be different as it already happened for ggplot2 version 3.3.0 (see below)
A smart R6 object might be a solution to better handle legends through guides and scales.
* Use ggtext and stringr as new dependency (both validated)
I did not know that
ggtext
was already validated. If so, that means we could include markdown content within plots ! :) But we would need to spread all this to the other texts/labels (e.g.axis.text
,axis.title
, etc.) correct ?
Yes !
This is already spread to: title, subtitle, caption and axis titles. But not for axis text (because rotations are only by increment of 90° in ggtext and user may want to apply 30/45°)
A lot of snapshots will break on ospsuiteR
Potentially also on Reporting Engine. Not sure if this will crash or not some plots or change their look. I also don't know how the translation of the fonts from
showtext
will perform.
My first test on OSPSuite R produced same plots but with slighly increase margins. The font seemed identical.
@pchelle This is ready for review
@pchelle This is ready for review
Except for the maxWidth
and charactersWidth
comments, all good.
Except for the
maxWidth
andcharactersWidth
comments, all good.
Which comments ?
Except for the
maxWidth
andcharactersWidth
comments, all good.Which comments ?
I am sorry, I seem to not to be able to access these sections 😅
@pchelle Forgot to submit the review? :D
@pchelle Forgot to submit the review? :D
Indeed ! 😅
We can now use insanely long strings for labels and legend without overflow outside of the plot and plotgrids