Skip to content

unit-test for #2534#2536

Merged
yihui merged 3 commits intorstudio:fix-2534from
J-Moravec:fix-2534
Jan 17, 2024
Merged

unit-test for #2534#2536
yihui merged 3 commits intorstudio:fix-2534from
J-Moravec:fix-2534

Conversation

@J-Moravec
Copy link
Copy Markdown
Contributor

Unit-test for this particular user-case.

Running pandoc is unfortunately necessary.

Tested on CRAN version of rmarkdown and a dev version using this fork.

In case of CRAN version, pandoc also likes to throw some additional warnings and errors that cannot be suppressed (or at least I don't know how).

If a withr::with_tempfile() is required instead of on.exit(), I can rework this. Since on.exit is already used in this file, I thought that it won't be confusing.

Copy link
Copy Markdown
Contributor

@yihui yihui left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@yihui yihui merged commit 58a41a6 into rstudio:fix-2534 Jan 17, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants