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

Function wflow_rename_proj() to rename an existing project #148

Closed
jdblischak opened this issue Mar 10, 2019 · 0 comments
Closed

Function wflow_rename_proj() to rename an existing project #148

jdblischak opened this issue Mar 10, 2019 · 0 comments
Labels
Chicago R Unconference https://chirunconf.github.io/ enhancement

Comments

@jdblischak
Copy link
Member

If a user wants to change the name of the workflowr project, there are many places that it needs to be changed. Most of the steps can and should be automated! The plan is to write wflow_rename_proj() (open to name suggestions) that does the following:

  1. Change name of .Rproj file
  2. Change URL of remote repository (need to make sure the protocol stays the same)
  3. Change name: and title: in _site.yml
  4. Change README title
  5. Offer to republish the R Markdown files
  6. Offer to rename the project directory itself (and then restart RStudio). Not sure if this is feasible
  7. Open the settings page of the existing GitHub repository so that the user can manually rename it

Thanks to @frm1789 and @kbroman for the idea!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Chicago R Unconference https://chirunconf.github.io/ enhancement
Projects
None yet
Development

No branches or pull requests

1 participant