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

Consider hiding the tempdir() setup in examples #1

Open
cboettig opened this issue Jun 11, 2018 · 0 comments
Open

Consider hiding the tempdir() setup in examples #1

cboettig opened this issue Jun 11, 2018 · 0 comments

Comments

@cboettig
Copy link
Member

Wrapping examples the way @coatless suggests here might make the documentation more readable to new users. Otherwise users might erroneously think they need to use a tempdir as well.

#' \dontshow{.old_wd <- setwd(tempdir())}
#' # Your code here
#' \dontshow{setwd(.old_wd)}
cboettig pushed a commit that referenced this issue Sep 28, 2021
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

No branches or pull requests

1 participant