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

Use here package to replace setwd in all functions #162

Open
ghar1821 opened this issue May 8, 2023 · 1 comment
Open

Use here package to replace setwd in all functions #162

ghar1821 opened this issue May 8, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@ghar1821
Copy link
Member

ghar1821 commented May 8, 2023

We used setwd a fair bit in functions which need to reference (read or write) files, which is not great as setwd is fragile and very dependent on the way you order your files on your computer. The here package (https://here.r-lib.org/articles/here.html) can address this by making it easier to construct an OS independent path, which can then be used to to replace any setwd.

@ghar1821 ghar1821 added the enhancement New feature or request label May 8, 2023
@ghar1821 ghar1821 self-assigned this May 8, 2023
@tomashhurst
Copy link
Member

Cool idea!

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

No branches or pull requests

2 participants