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

proj_activates(".") reopoens the project #1335

Closed
llrs opened this issue Jan 20, 2021 · 1 comment
Closed

proj_activates(".") reopoens the project #1335

llrs opened this issue Jan 20, 2021 · 1 comment

Comments

@llrs
Copy link
Contributor

llrs commented Jan 20, 2021

I recently created a new project with create_package(path) on the new Rstudio instance I used proj_activate(".") which resulted in opening a new instance of the same project .

Maybe exclude opening the project if it is already opened by Rstudio?

Using usethis2.0.0


Not sure if #905 is related

@jennybc
Copy link
Member

jennybc commented Jan 22, 2021

This is doing exactly what proj_activate() is designed for and as documented:

https://usethis.r-lib.org/reference/proj_activate.html

@jennybc jennybc closed this as completed Jan 22, 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

2 participants