prompt

Dynamic 'R' Prompt

Set the 'R' prompt dynamically, from a function. The package contains some examples to include various useful dynamic information in the prompt: the status of the last command (success or failure); the amount of memory allocated by the current 'R' process; the name of the R package(s) loaded by 'pkgload' and/or 'devtools'; various 'git' information: the name of the active branch, whether it is dirty, if it needs pushes pulls. You can also create your own prompt if you don't like the predefined examples.

Tests Vignettes

Available Snapshots

This version of prompt can be found in the following snapshots:

Dependencies

Imports/Depends/LinkingTo/Enhances (1)
  • cli
  • Suggests (9)
  • callr
  • gert
  • mockery
  • pkgload
  • ps >= 1.6.0
  • R6
  • rstudioapi
  • testthat
  • withr
  • Version History