{
  "_id": "6afdb4db117874b00e23dfc6",
  "Package": "formatR",
  "Type": "Package",
  "Title": "Format R Code Automatically",
  "Version": "1.14.1",
  "Authors@R": "c(\nperson(\"Yihui\", \"Xie\", role = c(\"aut\", \"cre\"), email = \"xie@yihui.name\", comment = c(ORCID = \"0000-0003-0645-5666\")),\nperson(\"Ed\", \"Lee\", role = \"ctb\"),\nperson(\"Eugene\", \"Ha\", role = \"ctb\"),\nperson(\"Kohske\", \"Takahashi\", role = \"ctb\"),\nperson(\"Pavel\", \"Krivitsky\", role = \"ctb\"),\nperson()\n)",
  "Description": "Provides a function tidy_source() to format R source code.\nSpaces and indent will be added to the code automatically, and\ncomments will be preserved under certain conditions, so that R\ncode will be more human-readable and tidy. There is also a\nShiny app as a user interface in this package (see tidy_app()).",
  "License": "GPL",
  "URL": "https://github.com/yihui/formatR",
  "BugReports": "https://github.com/yihui/formatR/issues",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.2.3",
  "Encoding": "UTF-8",
  "Repository": "https://ar-puuk.r-universe.dev",
  "Date/Publication": "2026-10-19 16:28:16 UTC",
  "RemoteUrl": "https://github.com/yihui/formatR",
  "RemoteRef": "HEAD",
  "RemoteSha": "aeb4b4baf17a073e52d0b58b150f3a991a40942e",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-18 13:55:08 UTC",
    "User": "root"
  },
  "Author": "Yihui Xie [aut, cre] (ORCID: <https://orcid.org/0000-0003-0645-5666>),\nEd Lee [ctb],\nEugene Ha [ctb],\nKohske Takahashi [ctb],\nPavel Krivitsky [ctb]",
  "Maintainer": "Yihui Xie <xie@yihui.name>",
  "_user": "ar-puuk",
  "_type": "src",
  "_file": "formatR_1.14.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/21b173be3c9796b987e0b3afd068586398d7c8b28601e047eb8e1b0fd397bb63",
  "_filesize": 193599,
  "_sha256": "21b173be3c9796b987e0b3afd068586398d7c8b28601e047eb8e1b0fd397bb63",
  "_expires": "2027-02-26T14:23:21.000Z",
  "_created": "2026-11-18T13:55:08.000Z",
  "_published": "2026-11-18T14:23:23.243Z",
  "_upstream": "https://github.com/yihui/formatR",
  "_status": "success",
  "_maintainer": {
    "name": "Yihui Xie",
    "email": "xie@yihui.name",
    "login": "yihui",
    "mastodon": "@yihui@mastodon.social",
    "bluesky": "@yihui.org",
    "linkedin": "in/yihuixie",
    "description": "Freelancer (open source programmer, contractor, blogger, and writer)",
    "uuid": 163582,
    "orcid": "0000-0003-0645-5666"
  },
  "_jobs": [
    {
      "job": 134851556926,
      "time": 123,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14434445336"
    },
    {
      "job": 134851556838,
      "time": 131,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14433463851"
    },
    {
      "job": 134851556997,
      "time": 74,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14433289148"
    },
    {
      "job": 134851557079,
      "time": 113,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14435577806"
    },
    {
      "job": 134849519290,
      "time": 198,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14432888405"
    },
    {
      "job": 134851556824,
      "time": 79,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14434056099"
    },
    {
      "job": 134851556823,
      "time": 69,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14432599441"
    },
    {
      "job": 134851556894,
      "time": 58,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14434410285"
    },
    {
      "job": 134851556841,
      "time": 64,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14433682225"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ar-puuk/actions/runs/44318052894",
  "_commit": {
    "id": "aeb4b4baf17a073e52d0b58b150f3a991a40942e",
    "author": "dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Bump actions/checkout from 3 to 7 in the actions group (#106)",
    "time": 1792427296
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2.3",
      "role": "Depends"
    },
    {
      "package": "rstudioapi",
      "role": "Suggests"
    },
    {
      "package": "shiny",
      "role": "Suggests"
    },
    {
      "package": "testit",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    }
  ],
  "_owner": "yihui",
  "_selfowned": false,
  "_usedby": 1454,
  "_updates": [
    {
      "week": "2026-03",
      "n": 3
    },
    {
      "week": "2026-43",
      "n": 2
    }
  ],
  "_tags": [],
  "_topics": [
    "code-formatter"
  ],
  "_stars": 261,
  "_contributors": [
    {
      "user": "yihui",
      "count": 617,
      "uuid": 163582
    },
    {
      "user": "egnha",
      "count": 10,
      "uuid": 12226767
    },
    {
      "user": "cderv",
      "count": 4,
      "uuid": 6791940
    },
    {
      "user": "iqis",
      "count": 3,
      "uuid": 42591382
    },
    {
      "user": "edlee123",
      "count": 2,
      "uuid": 16417837
    },
    {
      "user": "az0",
      "count": 1,
      "uuid": 933680
    },
    {
      "user": "kohske",
      "count": 1,
      "uuid": 227097
    },
    {
      "user": "krivit",
      "count": 1,
      "uuid": 15682462
    },
    {
      "user": "ronggui",
      "count": 1,
      "uuid": 3939211
    }
  ],
  "_userbio": {
    "uuid": 97474785,
    "type": "user",
    "name": "Pukar Bhandari",
    "followers": 29,
    "description": "I am a Data Scientist at Wasatch Front Regional Council and I am interested in Geospatial Data Analytics, particularly in land use and transportation."
  },
  "_downloads": {
    "count": 116816,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/formatR"
  },
  "_mentions": 3,
  "_devurl": "https://github.com/yihui/formatr",
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/formatR.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/yihui/formatr",
  "_realowner": "yihui",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1-0",
      "date": "2010-03-22"
    },
    {
      "version": "0.1-1",
      "date": "2010-03-26"
    },
    {
      "version": "0.1-2",
      "date": "2010-04-03"
    },
    {
      "version": "0.1-3",
      "date": "2010-04-11"
    },
    {
      "version": "0.1-4",
      "date": "2010-04-22"
    },
    {
      "version": "0.1-5",
      "date": "2010-12-03"
    },
    {
      "version": "0.1-6",
      "date": "2011-01-06"
    },
    {
      "version": "0.1-7",
      "date": "2011-01-08"
    },
    {
      "version": "0.1-8",
      "date": "2011-01-10"
    },
    {
      "version": "0.1-9",
      "date": "2011-01-16"
    },
    {
      "version": "0.2-0",
      "date": "2011-02-22"
    },
    {
      "version": "0.2-1",
      "date": "2011-03-31"
    },
    {
      "version": "0.2-2",
      "date": "2011-05-20"
    },
    {
      "version": "0.2-3",
      "date": "2011-08-12"
    },
    {
      "version": "0.2-4",
      "date": "2011-09-29"
    },
    {
      "version": "0.3-1",
      "date": "2011-10-02"
    },
    {
      "version": "0.3-2",
      "date": "2011-10-26"
    },
    {
      "version": "0.3-3",
      "date": "2011-11-19"
    },
    {
      "version": "0.3-4",
      "date": "2011-11-21"
    },
    {
      "version": "0.4",
      "date": "2012-04-02"
    },
    {
      "version": "0.5",
      "date": "2012-06-22"
    },
    {
      "version": "0.6",
      "date": "2012-07-13"
    },
    {
      "version": "0.7",
      "date": "2012-12-02"
    },
    {
      "version": "0.8",
      "date": "2013-06-18"
    },
    {
      "version": "0.9",
      "date": "2013-08-05"
    },
    {
      "version": "0.10",
      "date": "2013-10-26"
    },
    {
      "version": "1.0",
      "date": "2014-08-24"
    },
    {
      "version": "1.1",
      "date": "2015-03-29"
    },
    {
      "version": "1.2",
      "date": "2015-04-21"
    },
    {
      "version": "1.2.1",
      "date": "2015-09-18"
    },
    {
      "version": "1.3",
      "date": "2016-03-05"
    },
    {
      "version": "1.4",
      "date": "2016-05-09"
    },
    {
      "version": "1.5",
      "date": "2017-04-25"
    },
    {
      "version": "1.6",
      "date": "2019-03-08"
    },
    {
      "version": "1.7",
      "date": "2019-06-11"
    },
    {
      "version": "1.8",
      "date": "2021-03-12"
    },
    {
      "version": "1.9",
      "date": "2021-04-14"
    },
    {
      "version": "1.10",
      "date": "2021-05-25"
    },
    {
      "version": "1.11",
      "date": "2021-06-01"
    },
    {
      "version": "1.12",
      "date": "2022-03-31"
    },
    {
      "version": "1.13",
      "date": "2022-12-22"
    },
    {
      "version": "1.14",
      "date": "2023-01-18"
    }
  ],
  "_exports": [
    "tidy_app",
    "tidy_dir",
    "tidy_eval",
    "tidy_file",
    "tidy_pipe",
    "tidy_rstudio",
    "tidy_source",
    "usage"
  ],
  "_help": [
    {
      "page": "tidy_app",
      "title": "A Shiny app to format R code",
      "topics": [
        "tidy_app"
      ]
    },
    {
      "page": "tidy_dir",
      "title": "Format all R scripts under a directory, or specified R scripts",
      "topics": [
        "tidy_dir",
        "tidy_file"
      ]
    },
    {
      "page": "tidy_eval",
      "title": "Insert output to source code",
      "topics": [
        "tidy_eval"
      ]
    },
    {
      "page": "tidy_pipe",
      "title": "Substitute the 'magrittr' pipe with R's native pipe operator",
      "topics": [
        "tidy_pipe"
      ]
    },
    {
      "page": "tidy_rstudio",
      "title": "Reformat R code in RStudio IDE",
      "topics": [
        "tidy_rstudio"
      ]
    },
    {
      "page": "tidy_source",
      "title": "Reformat R code",
      "topics": [
        "tidy_source"
      ]
    },
    {
      "page": "usage",
      "title": "Show the usage of a function",
      "topics": [
        "usage"
      ]
    }
  ],
  "_readme": "https://github.com/yihui/formatR/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "formatR.Rmd",
      "filename": "formatR.html",
      "title": "formatR",
      "author": "Yihui Xie",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Installation",
        "2. Reformat R code",
        "3. The Graphical User Interface",
        "4. Evaluate the code and mask output in comments",
        "5. Showcase",
        "Substitute = with <-",
        "Discard blank lines",
        "Reindent code (2 spaces instead of 4)",
        "Start function arguments on a new line",
        "The pipe operators %>% and |>",
        "Move left braces { to new lines",
        "Do not wrap comments",
        "Discard comments",
        "6. Further notes",
        "Inline comments after an incomplete expression or ;",
        "Inappropriate blank lines",
        "? with comments",
        "7. How does tidy_source() actually work?",
        "8. Global options"
      ],
      "created": "2013-08-01 05:19:08",
      "modified": "2026-01-17 06:11:38",
      "commits": 56
    }
  ],
  "_score": 13.504039741389281,
  "_indexed": false,
  "_nocasepkg": "formatr",
  "_universes": [
    "ar-puuk"
  ],
  "_indexurl": "https://yihui.r-universe.dev/formatR",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.14.1",
      "date": "2026-11-18T13:57:16.000Z",
      "distro": "resolute",
      "commit": "aeb4b4baf17a073e52d0b58b150f3a991a40942e",
      "fileid": "https://r2.ropensci.org/7e6d13ac823e0093579986a90507341ba8fd1f2a54b878b1ff98c4c96a749469",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ar-puuk/actions/runs/44318052894"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.14.1",
      "date": "2026-11-18T13:57:23.000Z",
      "distro": "resolute",
      "commit": "aeb4b4baf17a073e52d0b58b150f3a991a40942e",
      "fileid": "https://r2.ropensci.org/e1cffdd1a762e6f19c3fb7c9398a8c4a6803a286415739197643119ad4f97196",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ar-puuk/actions/runs/44318052894"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.14.1",
      "date": "2026-11-18T14:09:20.000Z",
      "commit": "aeb4b4baf17a073e52d0b58b150f3a991a40942e",
      "fileid": "https://r2.ropensci.org/575219255ff193b615fcba166b8c93d78ee862afa89a7ed56b5bdd12f6c0ac3e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ar-puuk/actions/runs/44318052894"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.14.1",
      "date": "2026-11-18T14:22:48.000Z",
      "commit": "aeb4b4baf17a073e52d0b58b150f3a991a40942e",
      "fileid": "https://r2.ropensci.org/702a706d5e93a45ab163441ffb1eeff620baa32120d6a5481ee918594e160e4d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ar-puuk/actions/runs/44318052894"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.14.1",
      "date": "2026-11-18T13:56:47.000Z",
      "commit": "aeb4b4baf17a073e52d0b58b150f3a991a40942e",
      "fileid": "https://r2.ropensci.org/b490fa72a8c4051cbcd962b091ef4f8046cda7e692f37cff221a13ec631614eb",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ar-puuk/actions/runs/44318052894"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.14.1",
      "date": "2026-11-18T13:56:15.000Z",
      "commit": "aeb4b4baf17a073e52d0b58b150f3a991a40942e",
      "fileid": "https://r2.ropensci.org/d470b98b5bc46ef3359d13366ff1607862ae5c8289cb3eacca06d239b8b96498",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ar-puuk/actions/runs/44318052894"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.14.1",
      "date": "2026-11-18T13:56:14.000Z",
      "commit": "aeb4b4baf17a073e52d0b58b150f3a991a40942e",
      "fileid": "https://r2.ropensci.org/2fcf600a21f0be6512aaf133a6be2881ec557c76a1d299416bc37366bd2f28f1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ar-puuk/actions/runs/44318052894"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.14.1",
      "date": "2026-11-18T13:56:07.000Z",
      "commit": "aeb4b4baf17a073e52d0b58b150f3a991a40942e",
      "fileid": "https://r2.ropensci.org/afd3059e5dec53c6efd63e3419bbb8973847bbbd86b9a78866b2cee65b724346",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ar-puuk/actions/runs/44318052894"
    }
  ]
}