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

Example broken by withr 3.0.0 #70

Closed
MichaelChirico opened this issue Jan 25, 2024 · 1 comment · Fixed by #71
Closed

Example broken by withr 3.0.0 #70

MichaelChirico opened this issue Jan 25, 2024 · 1 comment · Fixed by #71

Comments

@MichaelChirico
Copy link

MichaelChirico commented Jan 25, 2024

See r-lib/withr#256. withr::local_tempfile() may not have been working as you intended, and definitely no longer works under {withr} 3.0.0 (when executed in certain ways):

plume/man/PlumeQuarto.Rd

Lines 14 to 17 in 67d86d5

tmp_file <- withr::local_tempfile(
lines = "---\ntitle: Encyclopédie\n---",
fileext = ".qmd"
)

I confirmed this by running:

devtools::check_examples(document = FALSE)

The linked issue cites a few ways to proceed, you can choose which is most appealing to you.

@arnaudgallou
Copy link
Owner

Thanks for the heads up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants