{
  "_id": "6a11666bacfb0bcc41cf0acb",
  "Package": "captain",
  "Type": "Package",
  "Title": "Running 'git' Pre-Commit Hooks",
  "Version": "1.2.0",
  "Authors@R": "c(\nperson(\"Alex\", \"Yahiaoui Martinez\", , \"yahiaoui-martinez.alex@outlook.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-5315-675X\"))\n)",
  "Description": "Git hook scripts are useful for identifying simple issues\nbefore submission to code review. 'captain' (hook) is an R\npackage to manage and run git pre-commit hooks.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/alexym1/captain,\nhttps://alexym1.github.io/captain/",
  "BugReports": "https://github.com/alexym1/captain/issues",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Repository": "https://alexym1.r-universe.dev",
  "Date/Publication": "2026-02-22 12:46:54 UTC",
  "RemoteUrl": "https://github.com/alexym1/captain",
  "RemoteRef": "HEAD",
  "RemoteSha": "0fdb33ffeafef37ab08b5781eb31fd9f07ef1b47",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-23 08:30:14 UTC",
    "User": "root"
  },
  "Author": "Alex Yahiaoui Martinez [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-5315-675X>)",
  "Maintainer": "Alex Yahiaoui Martinez <yahiaoui-martinez.alex@outlook.com>",
  "MD5sum": "582cd0c0a64831485c878546e9278172",
  "_user": "alexym1",
  "_type": "src",
  "_file": "captain_1.2.0.tar.gz",
  "_fileid": "24c4a0465f93db1c7915668fd3c00c2844e0469e739891392387da0d64d7a9c9",
  "_filesize": 336568,
  "_sha256": "24c4a0465f93db1c7915668fd3c00c2844e0469e739891392387da0d64d7a9c9",
  "_created": "2026-05-23T08:30:14.000Z",
  "_published": "2026-05-23T08:33:47.001Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77509493006,
      "time": 178,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7175658828"
    },
    {
      "job": 77509492983,
      "time": 134,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175654813"
    },
    {
      "job": 77509492984,
      "time": 181,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7175655586"
    },
    {
      "job": 77509492988,
      "time": 117,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175651610"
    },
    {
      "job": 77509361882,
      "time": 156,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175642018"
    },
    {
      "job": 77509492981,
      "time": 115,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175652933"
    },
    {
      "job": 77509493029,
      "time": 76,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7175649609"
    },
    {
      "job": 77509493034,
      "time": 79,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7175649738"
    },
    {
      "job": 77509493007,
      "time": 87,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175650448"
    }
  ],
  "_buildurl": "https://github.com/r-universe/alexym1/actions/runs/26328098528",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/alexym1/captain",
  "_commit": {
    "id": "0fdb33ffeafef37ab08b5781eb31fd9f07ef1b47",
    "author": "Alex Martinez <40006040+alexym1@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Add lintr (#13)\n\n* add lintr hook\n\n* add lintr as hook\n\n* update write_yaml\n\n* bump version to 1.2.0\n\n* styler: fix pb with hook\n\n* update numbers of PRs",
    "time": 1771764414
  },
  "_maintainer": {
    "name": "Alex Yahiaoui Martinez",
    "email": "yahiaoui-martinez.alex@outlook.com",
    "login": "alexym1",
    "linkedin": "in/alex-yahiaoui-martinez",
    "orcid": "0000-0002-5315-675X",
    "description": "Data scientist",
    "uuid": 40006040
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "fs",
      "role": "Imports"
    },
    {
      "package": "yaml",
      "role": "Imports"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lintr",
      "role": "Suggests"
    },
    {
      "package": "styler",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "alexym1",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-34",
      "n": 1
    },
    {
      "week": "2025-35",
      "n": 2
    },
    {
      "week": "2025-40",
      "n": 2
    },
    {
      "week": "2026-08",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v1.1.0",
      "date": "2025-08-26"
    },
    {
      "name": "v1.1.1",
      "date": "2025-09-30"
    },
    {
      "name": "v1.2.0",
      "date": "2026-02-22"
    }
  ],
  "_topics": [
    "precommit",
    "precommit-hooks"
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "alexym2",
      "count": 23,
      "uuid": 159030963
    },
    {
      "user": "alexym1",
      "count": 11,
      "uuid": 40006040
    }
  ],
  "_userbio": {
    "uuid": 40006040,
    "type": "user",
    "name": "Alex Martinez",
    "description": "Data scientist"
  },
  "_downloads": {
    "count": 183,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/captain"
  },
  "_devurl": "https://github.com/alexym1/captain",
  "_pkgdown": "https://alexym1.github.io/captain/",
  "_searchresults": 4,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/captain.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/alexym1/captain",
  "_realowner": "alexym1",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.1.1",
      "date": "2025-09-30"
    },
    {
      "version": "1.2.0",
      "date": "2026-02-22"
    }
  ],
  "_exports": [
    "create_precommit_config",
    "create_precommit_hook",
    "edit_precommit_config",
    "install_precommit",
    "run_precommit",
    "toggle_precommit_hook"
  ],
  "_help": [
    {
      "page": "create_precommit_config",
      "title": "Handle .pre-commit-config file",
      "topics": [
        "create_precommit_config",
        "edit_precommit_config"
      ]
    },
    {
      "page": "create_precommit_hook",
      "title": "Create pre-commit hooks",
      "topics": [
        "create_precommit_hook"
      ]
    },
    {
      "page": "install_precommit",
      "title": "Install pre-commit",
      "topics": [
        "install_precommit"
      ]
    },
    {
      "page": "run_precommit",
      "title": "Run precommit",
      "topics": [
        "run_precommit"
      ]
    },
    {
      "page": "toggle_precommit_hook",
      "title": "Toggle pre-commit hooks",
      "topics": [
        "toggle_precommit_hook"
      ]
    }
  ],
  "_readme": "https://github.com/alexym1/captain/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "fs",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "captain.Rmd",
      "filename": "captain.html",
      "title": "Introduction to captain",
      "engine": "knitr::rmarkdown",
      "headings": [
        "How it works"
      ],
      "created": "2025-09-30 16:54:56",
      "modified": "2025-09-30 16:54:56",
      "commits": 1
    }
  ],
  "_score": 4.301029995663981,
  "_indexed": true,
  "_nocasepkg": "captain",
  "_universes": [
    "alexym1"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-05-23T08:33:12.000Z",
      "distro": "noble",
      "commit": "0fdb33ffeafef37ab08b5781eb31fd9f07ef1b47",
      "fileid": "ae5a5ed1fd3dcf586aa3bc15b395f326a1d7d5a136a5e9441d6a7f723d023cab",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alexym1/actions/runs/26328098528"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-05-23T08:32:29.000Z",
      "distro": "noble",
      "commit": "0fdb33ffeafef37ab08b5781eb31fd9f07ef1b47",
      "fileid": "8b6f71790e2d8ea9b09da422d0833ff70eb18f68ab132fe28352ef64eee0d7f4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alexym1/actions/runs/26328098528"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-05-23T08:32:38.000Z",
      "commit": "0fdb33ffeafef37ab08b5781eb31fd9f07ef1b47",
      "fileid": "a414a117d5d4af0d2f77f9f0940034990f76216f202a401a3d41b51868703c22",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alexym1/actions/runs/26328098528"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-05-23T08:31:58.000Z",
      "commit": "0fdb33ffeafef37ab08b5781eb31fd9f07ef1b47",
      "fileid": "f0ccf5054372f212195ad125f55fc796a95db4ad20547a4146a0213e1cb85b12",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alexym1/actions/runs/26328098528"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.0",
      "date": "2026-05-23T08:32:24.000Z",
      "commit": "0fdb33ffeafef37ab08b5781eb31fd9f07ef1b47",
      "fileid": "47f692975ca963cf3b0a590b6df2691e74ae6f2ec20f5e5b96446f6f10800786",
      "status": "success",
      "buildurl": "https://github.com/r-universe/alexym1/actions/runs/26328098528"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-05-23T08:31:29.000Z",
      "commit": "0fdb33ffeafef37ab08b5781eb31fd9f07ef1b47",
      "fileid": "94d312cc454aaa4e2075aa0d67e37ebe20e9d0846b9c8a8a8f3531dc902d8dca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alexym1/actions/runs/26328098528"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-05-23T08:31:30.000Z",
      "commit": "0fdb33ffeafef37ab08b5781eb31fd9f07ef1b47",
      "fileid": "d08eff0bcb12f956342e95c278539a94ea98e7f951ded1359612a75e30d30afb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alexym1/actions/runs/26328098528"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-05-23T08:31:29.000Z",
      "commit": "0fdb33ffeafef37ab08b5781eb31fd9f07ef1b47",
      "fileid": "6db6add50bf0b29a2ac5bed8fb276cc15f86e325a7c9218f0072628ca70de47f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/alexym1/actions/runs/26328098528"
    }
  ]
}