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

[FR] Remove the set_here() when creating a golem app #1148

Open
ColinFay opened this issue Jun 26, 2024 · 1 comment
Open

[FR] Remove the set_here() when creating a golem app #1148

ColinFay opened this issue Jun 26, 2024 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@ColinFay
Copy link
Member

There is probably no need for setting here::set_here() when creating an app — here::here() will find its way by itself, and will make the default skeleton a bit lighter.

@ColinFay ColinFay added the enhancement New feature or request label Jun 26, 2024
@ColinFay
Copy link
Member Author

From set_here()

set_here() creates an empty file named .here, by default in the current directory. When here encounters such a file, it uses the directory that contains this file as root. This is useful if none of the default criteria apply. You need to restart the R session so that here() picks up the newly created file.

Given that we do usethis_create_project, and copy the default skeleton, here::here() should be able to find its way

@ColinFay ColinFay modified the milestones: Version 0.6.0, Version 0.7.0 Aug 26, 2024
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

1 participant