Package: prompt 1.0.2.9000
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.
Authors:
prompt_1.0.2.9000.tar.gz
prompt_1.0.2.9000.zip(r-4.7)prompt_1.0.2.9000.zip(r-4.6)prompt_1.0.2.9000.zip(r-4.5)
prompt_1.0.2.9000.tgz(r-4.6-any)prompt_1.0.2.9000.tgz(r-4.5-any)
prompt_1.0.2.9000.tar.gz(r-4.7-any)prompt_1.0.2.9000.tar.gz(r-4.6-any)
prompt_1.0.2.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
prompt/json (API)
NEWS
| # Install 'prompt' in R: |
| install.packages('prompt', repos = c('https://gaborcsardi.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/gaborcsardi/prompt/issues
Last updated from:17bd0e1737. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 115 | ||
| source / vignettes | OK | 156 | ||
| linux-release-x86_64 | OK | 115 | ||
| macos-release-arm64 | OK | 90 | ||
| macos-oldrel-arm64 | OK | 78 | ||
| windows-devel | OK | 75 | ||
| windows-release | OK | 69 | ||
| windows-oldrel | OK | 84 | ||
| wasm-release | OK | 96 |
Exports:devtools_packagesgit_arrowsgit_branchgit_dirtygit_remote_statusis_git_dirmemory_usagenew_prompt_powerlineprompt_devtoolsprompt_fancyprompt_gitprompt_memprompt_runtimeprompt_statusrestoreset_promptsuspendtoggle
Dependencies:cli
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| This is a Powerline-like prompt | new_prompt_powerline |
| Dynamic R Prompt | prompt-package prompt |
| Example prompt that shows the package being developed with devtools | devtools_packages prompt_devtools |
| A fancy prompt, showing probably too much information | prompt_fancy |
| An example 'git' prompt | git_arrows git_branch git_dirty git_remote_status is_git_dir prompt_git |
| Example prompt that shows the current memory usage of the R process | memory_usage prompt_mem |
| A prompt that shows the CPU time used by the last top level expression | prompt_runtime |
| A prompt that shows the status (OK or error) of the last expression | prompt_status |
| Set and control the prompt | restore set_prompt suspend toggle |
