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
Treat .Rmarkdown files as .Rmd files #824
Conversation
If you would rather implement this differently, of if I've overlooked something, feel free to just reject at implement it properly. |
Codecov Report
@@ Coverage Diff @@
## master #824 +/- ##
==========================================
+ Coverage 90.46% 90.49% +0.03%
==========================================
Files 47 47
Lines 2432 2441 +9
==========================================
+ Hits 2200 2209 +9
Misses 232 232
Continue to review full report at Codecov.
|
This is how benchmark results would change (along with a 95% confience interval in relative change) if eede456 is merged into master:
Further explanation regarding interpretation and methodology can be found in the documentation. |
Thanks @JohannesNE. Closes: #480. Before a merge, we should:
Do you want to give this a try? |
My experience is limited, but I have given it a try. |
@JohannesNE looks great overall, thanks a lot. Let's keep our fingers crossed for the tests to pass 🙏. |
If I use locally produced ref files, CI fails on all machines, so these must be peculiarities of this machine
Sorry. I actually meant to make a comment that i was unsure about committing the updated reference files, but forgot about it. |
There is something strange going on with some unrelated reference files I think. When I locally run the tests, I get modified files (so tests fail), but on CI/CD, the same reference files pass (I know from previous experience). I reverted to the old ref files in 2e64b07, let's hope we can make tests pass. Maybe I'll open a separate issue. The problem persists for some time already. |
Are you working on macOS as well? |
I'm on Ubuntu 21.04. I am afraid won't be of much help with that problem. I usually "fix" encoding problems by trial-and-error 🤷♂️ |
This is how benchmark results would change (along with a 95% confience interval in relative change) if 49c52ed is merged into master:
Further explanation regarding interpretation and methodology can be found in the documentation. |
Ok. Seems not a problem in CI/CD, neither on CRAN, so I guess we can leave it for now. |
Thanks @JohannesNE 🥳 |
.Rmarkdown files are like .Rmd files, except they render to .md instead of .html (https://bookdown.org/yihui/blogdown/output-format.html)
Unfortunately they are rejected by styler (
Error: Can only style .R, .Rmd and .Rnw files.
)