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.
Version: | 1.0.2 |
Imports: | cli |
Suggests: | callr, gert, mockery, pkgload, ps (≥ 1.6.0), R6, rstudioapi, testthat, withr |
Published: | 2023-08-31 |
DOI: | 10.32614/CRAN.package.prompt |
Author: | Gábor Csárdi |
Maintainer: | Gábor Csárdi <csardi.gabor at gmail.com> |
BugReports: | https://github.com/gaborcsardi/prompt/issues |
License: | MIT + file LICENSE |
URL: | https://github.com/gaborcsardi/prompt |
NeedsCompilation: | no |
Materials: | README NEWS |
CRAN checks: | prompt results |
Reference manual: | prompt.pdf |
Package source: | prompt_1.0.2.tar.gz |
Windows binaries: | r-devel: prompt_1.0.2.zip, r-release: prompt_1.0.2.zip, r-oldrel: prompt_1.0.2.zip |
macOS binaries: | r-release (arm64): prompt_1.0.2.tgz, r-oldrel (arm64): prompt_1.0.2.tgz, r-release (x86_64): prompt_1.0.2.tgz, r-oldrel (x86_64): prompt_1.0.2.tgz |
Old sources: | prompt archive |
Reverse suggests: | graphicalMCP |
Please use the canonical form https://CRAN.R-project.org/package=prompt to link to this page.