Skip to content

use_devtools() #624

@jennybc

Description

@jennybc

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions