{
  "_id": "6a1f08a4b401979e7341c191",
  "Package": "prompt",
  "Title": "Dynamic 'R' Prompt",
  "Version": "1.0.2.9000",
  "Author": "Gábor Csárdi",
  "Maintainer": "Gábor Csárdi <csardi.gabor@gmail.com>",
  "Description": "Set the 'R' prompt dynamically, from a function. The\npackage contains some examples to include various useful\ndynamic information in the prompt: the status of the last\ncommand (success or failure); the amount of memory allocated by\nthe current 'R' process; the name of the R package(s) loaded by\n'pkgload' and/or 'devtools'; various 'git' information: the\nname of the active branch, whether it is dirty, if it needs\npushes pulls. You can also create your own prompt if you don't\nlike the predefined examples.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/gaborcsardi/prompt",
  "BugReports": "https://github.com/gaborcsardi/prompt/issues",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.2.3",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "Repository": "https://gaborcsardi.r-universe.dev",
  "Date/Publication": "2023-08-31 11:54:24 UTC",
  "RemoteUrl": "https://github.com/gaborcsardi/prompt",
  "RemoteRef": "HEAD",
  "RemoteSha": "17bd0e1737babf6c6752c31e68ab4ac4bd0f5acd",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-18 06:23:40 UTC",
    "User": "root"
  },
  "MD5sum": "d549abc6c4cb3b5ade910ced2c1cd2df",
  "_user": "gaborcsardi",
  "_type": "src",
  "_file": "prompt_1.0.2.9000.tar.gz",
  "_fileid": "884c1520c256c22a724960f2f797c059e2f0043e5f95922a065042352669b1f3",
  "_filesize": 257379,
  "_sha256": "884c1520c256c22a724960f2f797c059e2f0043e5f95922a065042352669b1f3",
  "_created": "2026-05-18T06:23:40.000Z",
  "_published": "2026-06-02T16:45:24.814Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79123886282,
      "time": 115,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7050852680"
    },
    {
      "job": 79123886733,
      "time": 115,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7050852272"
    },
    {
      "job": 79123886659,
      "time": 78,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7050844087"
    },
    {
      "job": 79123886330,
      "time": 90,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7050846861"
    },
    {
      "job": 79123885905,
      "time": 156,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7050826565"
    },
    {
      "job": 79123885710,
      "time": 96,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7364143622"
    },
    {
      "job": 79123886510,
      "time": 75,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7050843858"
    },
    {
      "job": 79123886563,
      "time": 84,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7050846452"
    },
    {
      "job": 79123886482,
      "time": 69,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7050842156"
    }
  ],
  "_buildurl": "https://github.com/r-universe/gaborcsardi/actions/runs/26017031625",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/gaborcsardi/prompt",
  "_commit": {
    "id": "17bd0e1737babf6c6752c31e68ab4ac4bd0f5acd",
    "author": "Gábor Csárdi <csardi.gabor@gmail.com>",
    "committer": "Gábor Csárdi <csardi.gabor@gmail.com>",
    "message": "Increment version number to 1.0.2.9000\n",
    "time": 1693482864
  },
  "_maintainer": {
    "name": "Gábor Csárdi",
    "email": "csardi.gabor@gmail.com",
    "login": "gaborcsardi",
    "mastodon": "@gaborcsardi@fosstodon.org",
    "bluesky": "@gaborcsardi.org",
    "description": "",
    "uuid": 660288
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "callr",
      "role": "Suggests"
    },
    {
      "package": "gert",
      "role": "Suggests"
    },
    {
      "package": "mockery",
      "role": "Suggests"
    },
    {
      "package": "pkgload",
      "role": "Suggests"
    },
    {
      "package": "ps",
      "version": ">= 1.6.0",
      "role": "Suggests"
    },
    {
      "package": "R6",
      "role": "Suggests"
    },
    {
      "package": "rstudioapi",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "gaborcsardi",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [],
  "_tags": [],
  "_stars": 232,
  "_contributors": [
    {
      "user": "gaborcsardi",
      "count": 80,
      "uuid": 660288
    },
    {
      "user": "hadley",
      "count": 2,
      "uuid": 4196
    },
    {
      "user": "henrikbengtsson",
      "count": 2,
      "uuid": 1616850
    }
  ],
  "_userbio": {
    "uuid": 660288,
    "type": "user",
    "name": "Gábor Csárdi"
  },
  "_downloads": {
    "count": 312,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/prompt"
  },
  "_devurl": "https://github.com/gaborcsardi/prompt",
  "_searchresults": 85,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/prompt.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/gaborcsardi/prompt",
  "_realowner": "gaborcsardi",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2021-03-04"
    },
    {
      "version": "1.0.1",
      "date": "2021-03-12"
    },
    {
      "version": "1.0.2",
      "date": "2023-08-31"
    }
  ],
  "_exports": [
    "devtools_packages",
    "git_arrows",
    "git_branch",
    "git_dirty",
    "git_remote_status",
    "is_git_dir",
    "memory_usage",
    "new_prompt_powerline",
    "prompt_devtools",
    "prompt_fancy",
    "prompt_git",
    "prompt_mem",
    "prompt_runtime",
    "prompt_status",
    "restore",
    "set_prompt",
    "suspend",
    "toggle"
  ],
  "_help": [
    {
      "page": "new_prompt_powerline",
      "title": "This is a Powerline-like prompt",
      "concept": [
        "example prompts"
      ],
      "topics": [
        "new_prompt_powerline"
      ]
    },
    {
      "page": "prompt",
      "title": "Dynamic R Prompt",
      "topics": [
        "prompt-package",
        "prompt"
      ]
    },
    {
      "page": "prompt_devtools",
      "title": "Example prompt that shows the package being developed with devtools",
      "concept": [
        "example prompts"
      ],
      "topics": [
        "devtools_packages",
        "prompt_devtools"
      ]
    },
    {
      "page": "prompt_fancy",
      "title": "A fancy prompt, showing probably too much information",
      "concept": [
        "example prompts"
      ],
      "topics": [
        "prompt_fancy"
      ]
    },
    {
      "page": "prompt_git",
      "title": "An example 'git' prompt",
      "concept": [
        "example prompts"
      ],
      "topics": [
        "git_arrows",
        "git_branch",
        "git_dirty",
        "git_remote_status",
        "is_git_dir",
        "prompt_git"
      ]
    },
    {
      "page": "prompt_mem",
      "title": "Example prompt that shows the current memory usage of the R process",
      "concept": [
        "example prompts"
      ],
      "topics": [
        "memory_usage",
        "prompt_mem"
      ]
    },
    {
      "page": "prompt_runtime",
      "title": "A prompt that shows the CPU time used by the last top level expression",
      "concept": [
        "example prompts"
      ],
      "topics": [
        "prompt_runtime"
      ]
    },
    {
      "page": "prompt_status",
      "title": "A prompt that shows the status (OK or error) of the last expression",
      "concept": [
        "example prompts"
      ],
      "topics": [
        "prompt_status"
      ]
    },
    {
      "page": "set_prompt",
      "title": "Set and control the prompt",
      "topics": [
        "restore",
        "set_prompt",
        "suspend",
        "toggle"
      ]
    }
  ],
  "_readme": "https://github.com/gaborcsardi/prompt/raw/HEAD/README.md",
  "_rundeps": [
    "cli"
  ],
  "_score": 7.073058160988836,
  "_indexed": true,
  "_nocasepkg": "prompt",
  "_universes": [
    "gaborcsardi"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2.9000",
      "date": "2026-05-18T06:25:36.000Z",
      "distro": "noble",
      "commit": "17bd0e1737babf6c6752c31e68ab4ac4bd0f5acd",
      "fileid": "5e6d582ea5a4c29033a3d6cb2aeefc5dca1a60958f0ca8749acf94fb33cfe102",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gaborcsardi/actions/runs/26017031625"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.2.9000",
      "date": "2026-05-18T06:25:34.000Z",
      "distro": "noble",
      "commit": "17bd0e1737babf6c6752c31e68ab4ac4bd0f5acd",
      "fileid": "d896b24306b262d6810eeb8f0065a157c788c924cdbc82ff3fbafb1a9b9d6cf5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gaborcsardi/actions/runs/26017031625"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2.9000",
      "date": "2026-05-18T06:24:59.000Z",
      "commit": "17bd0e1737babf6c6752c31e68ab4ac4bd0f5acd",
      "fileid": "e3fb70bbe3d29efcdaf2a38dba60ecf03b42eaddd7d7a45cadc3f842731e151f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gaborcsardi/actions/runs/26017031625"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.2.9000",
      "date": "2026-05-18T06:25:12.000Z",
      "commit": "17bd0e1737babf6c6752c31e68ab4ac4bd0f5acd",
      "fileid": "d15d721dbaca515ba7847ab426d71129c22cc4a32cb5f1b9cd89ea7409565ed0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gaborcsardi/actions/runs/26017031625"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.2.9000",
      "date": "2026-05-18T06:24:52.000Z",
      "commit": "17bd0e1737babf6c6752c31e68ab4ac4bd0f5acd",
      "fileid": "2fa23c16cfce5154d2f95a3e1f33420fbc818ac3a255fd64fa09772b84fdf274",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gaborcsardi/actions/runs/26017031625"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.2.9000",
      "date": "2026-05-18T06:24:57.000Z",
      "commit": "17bd0e1737babf6c6752c31e68ab4ac4bd0f5acd",
      "fileid": "72aaa4accd2f69f152626a9529e5c19c8ab929527c4c8e48cc8e4efeba2d5c01",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gaborcsardi/actions/runs/26017031625"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.2.9000",
      "date": "2026-05-18T06:24:43.000Z",
      "commit": "17bd0e1737babf6c6752c31e68ab4ac4bd0f5acd",
      "fileid": "227e59fdb5584daed23558dc43b107d8ed0e3b7ca09ff80db4e87fb570cfb282",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gaborcsardi/actions/runs/26017031625"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.2.9000",
      "date": "2026-06-02T16:45:07.000Z",
      "commit": "17bd0e1737babf6c6752c31e68ab4ac4bd0f5acd",
      "fileid": "d61dad7ac07ff334fc18ca51f055935a03e4d55cb3ad425d76e2cf24b81be324",
      "status": "success",
      "buildurl": "https://github.com/r-universe/gaborcsardi/actions/runs/26017031625"
    }
  ]
}