Closed eusebe closed 6 years ago
Hi David,
Is there something wrong with my reproducible code? The first call of ReporteRs is the version 0.8.8, the second call is 0.8.7.
Switching to officer/flextable isn't really an option her (with my current project, I use ReporteRs to generate several reports with hundred of paragraphs, figures and tables, it would be too long to recode everything). I'm planning to switch, but with my new projects.
Thank you very much. Best, David
Hi David,
Sorry, I don't have enough time...
I did not work on ReporteRs since a long time, but I remember about this, this is not a regression, it's a decision I made after users' complains, in the documentation, it is written This argument can only be used when value is a character vector
. I am stuck here, if I change that, you will be happy but other users will be unhappy and if I don't change that, well, you will be unhappy and the other happy :/
So the rule is :
value
is a character
, you can use stylename
, this will define the paragraph and the character formatting .value
is a pot
, you can not use stylename
but should use parProperties
instead (and specify how to align text, add borders, etc.).David
PS : if you need a consultant to do the migration, I am available ;)
Hi David,
I've just noticed a little regression between ReporteRs 0.8.7 and 0.8.8. When using addParagraph with a pot object, the stylename option doesn't produce the expected result.
Here an example (the two generated word files are attached):
bug_8.7.docx bug_8.8.docx
Is there any workaround? Thank you very much. David