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_devtools() #624

Closed
jennybc opened this issue Feb 9, 2019 · 1 comment
Closed

use_devtools() #624

jennybc opened this issue Feb 9, 2019 · 1 comment

Comments

@jennybc
Copy link
Member

@jennybc jennybc commented Feb 9, 2019

In light of r-lib/devtools#1985, where I learned that devtools already attaches usethis and will probably Depend on it one day, I think we should have use_devtools(). It will do this:

> use_devtools()
● Restart R for changes to take effect
● Modify '/Users/jenny/.Rprofile'
● Include this code in '.Rprofile' to make devtools available in all interactive sessions
  if (interactive()) {
    suppressMessages(require(devtools))
  }
  [Copied to clipboard]

and we should only (or mostly) publicize use_devtools(), as opposed to use_usethis().

Agree @jimhester @hadley?

@jimhester
Copy link
Member

@jimhester jimhester commented Feb 9, 2019

Sounds good to me!

@jennybc jennybc closed this in 8e3c151 Feb 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants