Skip to content
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

colformat_md() not working with flextable version 0.9.5 #100

Closed
sjr267 opened this issue Mar 30, 2024 · 3 comments · Fixed by #101
Closed

colformat_md() not working with flextable version 0.9.5 #100

sjr267 opened this issue Mar 30, 2024 · 3 comments · Fixed by #101
Labels
bug Something isn't working

Comments

@sjr267
Copy link

sjr267 commented Mar 30, 2024

R version 4.3.3, ftExtra version 0.6.2. The example code from the README for parsing markdown texts using colformat_md() runs as expected when flextable version 0.9.4 is installed, but doesn't when flextable version 0.9.5 is installed. The resulting table made with flextable 0.9.5 shows all of the markdown syntax, rather than converting it to formatted text. I've reproduced this on 2 systems.

@atusy atusy added the bug Something isn't working label Mar 30, 2024
@atusy
Copy link
Owner

atusy commented Mar 30, 2024

Thank you for the report. I reproduced the issue...
Give me sometime to investigate it.

@atusy
Copy link
Owner

atusy commented Mar 30, 2024

It seems the bug comes from the internal change of flextable's data structure.
I made #101 to fix it.

@sjr267 Would give a try with pak::pak("atusy/ftExtra#101)"?

@sjr267
Copy link
Author

sjr267 commented Mar 30, 2024

Yes, colformat_md() in this version works with flextable 0.9.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants