{
  "_id": "6a4962ca77d6db3f2f9670a8",
  "Package": "rformat",
  "Type": "Package",
  "Title": "Base R Code Formatter",
  "Version": "0.2.0",
  "Date": "2026-06-24",
  "Authors@R": "c(person(\"Troy\", \"Hernandez\", role = c(\"aut\", \"cre\"),\nemail = \"troy@cornball.ai\",\ncomment = c(ORCID = \"0009-0005-4248-604X\")),\nperson(\"Dirk\", \"Eddelbuettel\", role = \"ctb\",\ncomment = c(ORCID = \"0000-0001-6419-907X\")),\nperson(\"cornball.ai\", role = \"cph\"))",
  "Description": "A minimal R code formatter following base R style\nconventions. Formats R code with consistent spacing,\nindentation, and structure.",
  "License": "GPL-3",
  "URL": "https://github.com/cornball-ai/rformat",
  "BugReports": "https://github.com/cornball-ai/rformat/issues",
  "Encoding": "UTF-8",
  "VignetteBuilder": "simplermarkdown",
  "Repository": "https://cornball-ai.r-universe.dev",
  "Date/Publication": "2026-06-24 18:19:24 UTC",
  "RemoteUrl": "https://github.com/cornball-ai/rformat",
  "RemoteRef": "HEAD",
  "RemoteSha": "bbb5ca97218653ef462cbb4ab58889f85e98481d",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-24 18:35:37 UTC",
    "User": "root"
  },
  "Author": "Troy Hernandez [aut, cre] (ORCID:\n<https://orcid.org/0009-0005-4248-604X>),\nDirk Eddelbuettel [ctb] (ORCID:\n<https://orcid.org/0000-0001-6419-907X>),\ncornball.ai [cph]",
  "Maintainer": "Troy Hernandez <troy@cornball.ai>",
  "_user": "cornball-ai",
  "_type": "src",
  "_file": "rformat_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/1761822be5098efa35a0953f9931653c7badbf166af6c9b40a37ff9470b3cd4a",
  "_filesize": 186084,
  "_sha256": "1761822be5098efa35a0953f9931653c7badbf166af6c9b40a37ff9470b3cd4a",
  "_expires": "2026-10-12T19:45:13.000Z",
  "_created": "2026-06-24T18:35:37.000Z",
  "_published": "2026-07-04T19:45:14.451Z",
  "_jobs": [
    {
      "job": 85161630983,
      "time": 167,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7859009797"
    },
    {
      "job": 85161630921,
      "time": 158,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7859005483"
    },
    {
      "job": 85161630947,
      "time": 160,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7859007656"
    },
    {
      "job": 85161630922,
      "time": 153,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7859003183"
    },
    {
      "job": 85161630982,
      "time": 92,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7858979766"
    },
    {
      "job": 85161630846,
      "time": 192,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7859020626"
    },
    {
      "job": 85161630910,
      "time": 113,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7858986210"
    },
    {
      "job": 85161630913,
      "time": 197,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7859021380"
    },
    {
      "job": 85161630674,
      "time": 188,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7858938594"
    },
    {
      "job": 85161630915,
      "time": 126,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7858996453"
    },
    {
      "job": 85161630925,
      "time": 147,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7859000509"
    },
    {
      "job": 85161630986,
      "time": 109,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7858984695"
    },
    {
      "job": 85161630968,
      "time": 143,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7858999611"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cornball-ai/actions/runs/28120923416",
  "_status": "success",
  "_upstream": "https://github.com/cornball-ai/rformat",
  "_commit": {
    "id": "bbb5ca97218653ef462cbb4ab58889f85e98481d",
    "author": "Troy Hernandez <troy@cornball.ai>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Release 0.2.0 (#35)\n\n* Prepare CRAN release 0.2.0\n\nVersion 0.1.0 -> 0.2.0 (minor: user-visible formatting changes since 0.1.0). Date set, cornball.ai cph added to Authors@R (policy alignment), NEWS.md written from the PR history, cran-comments updated for the update.\n\n* Correct 0.2.0 NEWS and cran-comments (review)\n\nPublished CRAN 0.1.0 == 6db0765 (#25), so #23 and #25 were already in 0.1.0; drop them from the 0.2.0 NEWS and cran-comments (real post-0.1.0 delta is #26-#30, #34, CI-pr-only). Also remove the win-builder test-environment line and claim until the 0.2.0 tarball actually passes win-builder.\n\n* Fix join_else continuation idempotency\n\n* Mirror #29 signature/body gap-close in the pure-R backend\n\nThe pure-R fallback (ast_funcdef.R) collapsed a multi-line function\nsignature onto one line but did not shift the bare (braceless) body up,\nleaving a blank line between signature and body. The C++ backend already\ncloses this gap (funcdef.cpp); the fallback diverged.\n\nRecord the signature's old end line before collapsing, then for a\nbare-body function shift later tokens up by the same amount so the body\nstays adjacent. Add a backend-parity regression test asserting the R\nfallback closes the gap and stays idempotent.\n\n* cran-comments: credit 0.2.0 for the corpus stress test\n\n* cran-comments: record R 4.6.0 as the local check version",
    "time": 1782325164
  },
  "_maintainer": {
    "name": "Troy Hernandez",
    "email": "troy@cornball.ai",
    "login": "troyhernandez",
    "description": "",
    "uuid": 5670773
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "tinytest",
      "role": "Suggests"
    },
    {
      "package": "simplermarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cornball-ai",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-04",
      "n": 13
    },
    {
      "week": "2026-05",
      "n": 7
    },
    {
      "week": "2026-06",
      "n": 2
    },
    {
      "week": "2026-08",
      "n": 16
    },
    {
      "week": "2026-09",
      "n": 19
    },
    {
      "week": "2026-10",
      "n": 9
    },
    {
      "week": "2026-11",
      "n": 2
    },
    {
      "week": "2026-13",
      "n": 1
    },
    {
      "week": "2026-15",
      "n": 1
    },
    {
      "week": "2026-20",
      "n": 1
    },
    {
      "week": "2026-23",
      "n": 1
    },
    {
      "week": "2026-26",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 4,
  "_contributors": [
    {
      "user": "troyhernandez",
      "count": 70,
      "uuid": 5670773
    },
    {
      "user": "eddelbuettel",
      "count": 7,
      "uuid": 673121
    }
  ],
  "_userbio": {
    "uuid": 153995987,
    "type": "organization",
    "name": "cornball.ai",
    "followers": 13
  },
  "_downloads": {
    "count": 481,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rformat"
  },
  "_devurl": "https://github.com/cornball-ai/rformat",
  "_searchresults": 4,
  "_topics": [
    "cpp"
  ],
  "_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/readme.html",
    "extra/readme.md",
    "extra/rformat.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/cornball-ai/rformat",
  "_realowner": "cornball-ai",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-03-09"
    }
  ],
  "_exports": [
    "rformat",
    "rformat_dir",
    "rformat_file"
  ],
  "_help": [
    {
      "page": "rformat",
      "title": "Format R Code",
      "topics": [
        "rformat"
      ]
    },
    {
      "page": "rformat_dir",
      "title": "Format R Files in Directory",
      "topics": [
        "rformat_dir"
      ]
    },
    {
      "page": "rformat_file",
      "title": "Format R File",
      "topics": [
        "rformat_file"
      ]
    }
  ],
  "_readme": "https://github.com/cornball-ai/rformat/raw/HEAD/README.md",
  "_rundeps": [
    "Rcpp"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "rformat-options.md",
      "filename": "rformat-options.html",
      "title": "Formatting Options",
      "engine": "simplermarkdown::mdweave_to_html",
      "headings": [
        "title: \"Formatting Options\"",
        "Formatting Options",
        "Default formatting",
        "indent",
        "line_limit",
        "wrap",
        "brace_style",
        "control_braces",
        "expand_if",
        "else_same_line",
        "join_else",
        "function_space",
        "Combining options",
        "Formatting files and directories"
      ],
      "created": "2026-03-03 22:53:49",
      "modified": "2026-03-04 19:13:33",
      "commits": 2
    },
    {
      "source": "r-core-style.md",
      "filename": "r-core-style.html",
      "title": "R Core Style Analysis",
      "engine": "simplermarkdown::mdweave_to_html",
      "headings": [
        "title: \"R Core Style Analysis\"",
        "R Core Style Analysis",
        "Method",
        "Results: Base R (15 packages, excluding translations)",
        "Brace style",
        "Indentation",
        "Space after function",
        "Function signatures",
        "Results: Base + Recommended (30 packages)",
        "Control flow bodies",
        "} else placement",
        "Source examples",
        "Key findings",
        "External references",
        "rformat defaults"
      ],
      "created": "2026-01-23 22:12:10",
      "modified": "2026-03-04 19:13:33",
      "commits": 9
    },
    {
      "source": "stress-test.md",
      "filename": "stress-test.html",
      "title": "Stress Testing rformat",
      "engine": "simplermarkdown::mdweave_to_html",
      "headings": [
        "title: \"Stress Testing rformat\"",
        "Stress Testing rformat",
        "Correctness Invariants",
        "Why These Tests Matter",
        "Test Methodology",
        "Randomized Parameters",
        "Running the Stress Test",
        "Package List",
        "Results",
        "Summary",
        "Bugs Found and Fixed",
        "Tab-expanded column positions",
        "Long string truncation",
        "ELSE search crosses brace boundaries",
        "Braced false body collapsed",
        "Nested call wrap corruption",
        "Comment transparency in bare body detection",
        "Idempotency Design"
      ],
      "created": "2026-02-21 16:04:38",
      "modified": "2026-03-03 22:53:49",
      "commits": 2
    }
  ],
  "_score": 5.857332496431269,
  "_indexed": true,
  "_nocasepkg": "rformat",
  "_universes": [
    "cornball-ai",
    "troyhernandez"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-24T18:38:30.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "bbb5ca97218653ef462cbb4ab58889f85e98481d",
      "fileid": "https://r2.ropensci.org/d9237f7542dded76be1ddee326bd14b5c6d51868e6919afaf51bd94f8e1d0176",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cornball-ai/actions/runs/28120923416"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-24T18:38:09.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "bbb5ca97218653ef462cbb4ab58889f85e98481d",
      "fileid": "https://r2.ropensci.org/5732d47bbaeacee149b80035f1f65bbbde2909efafbac16cef02b0aaf2bc02c9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cornball-ai/actions/runs/28120923416"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-24T18:38:22.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "bbb5ca97218653ef462cbb4ab58889f85e98481d",
      "fileid": "https://r2.ropensci.org/5ba3996ab1c871a4173e2ab19f697f3a66f685dc92e669b8d74cb1f80c22cc40",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cornball-ai/actions/runs/28120923416"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-24T18:38:03.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "bbb5ca97218653ef462cbb4ab58889f85e98481d",
      "fileid": "https://r2.ropensci.org/fe0a31ce32d9c938bfa3c9dff9de98ad0de10d7128aaefc2362d70917871c884",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cornball-ai/actions/runs/28120923416"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-06-24T18:37:22.000Z",
      "arch": "aarch64",
      "commit": "bbb5ca97218653ef462cbb4ab58889f85e98481d",
      "fileid": "https://r2.ropensci.org/4eb4a8c74be54d3de1d849d2378b2229348392780edecfe148ef5424da778c6f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cornball-ai/actions/runs/28120923416"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-06-24T18:38:24.000Z",
      "arch": "x86_64",
      "commit": "bbb5ca97218653ef462cbb4ab58889f85e98481d",
      "fileid": "https://r2.ropensci.org/103e0908882bc0634f02d296a526d33ee2cf266fdfa1d826f272b55f04437c18",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cornball-ai/actions/runs/28120923416"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-06-24T18:37:31.000Z",
      "arch": "aarch64",
      "commit": "bbb5ca97218653ef462cbb4ab58889f85e98481d",
      "fileid": "https://r2.ropensci.org/adc03b3c5a04133b2091ee848631bf7cdd0e4be68ccd223c09c1c83bd04c4b64",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cornball-ai/actions/runs/28120923416"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-06-24T18:38:27.000Z",
      "arch": "x86_64",
      "commit": "bbb5ca97218653ef462cbb4ab58889f85e98481d",
      "fileid": "https://r2.ropensci.org/a408bb49ef3334de906b9a30badc4c249a14c0527ddfadce61cc4a5f713a6b6a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cornball-ai/actions/runs/28120923416"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-06-24T18:38:16.000Z",
      "arch": "emscripten",
      "commit": "bbb5ca97218653ef462cbb4ab58889f85e98481d",
      "fileid": "https://r2.ropensci.org/1769975a181d35644fe78cfc6c05e0b42be84865c1927ddb2fe25ac60bbc544a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cornball-ai/actions/runs/28120923416"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-24T18:37:07.000Z",
      "arch": "x86_64",
      "commit": "bbb5ca97218653ef462cbb4ab58889f85e98481d",
      "fileid": "https://r2.ropensci.org/01ff50d52ba133c049695dcd2be545f52623de9349496ead3e6802bffcb359d3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cornball-ai/actions/runs/28120923416"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-24T18:36:56.000Z",
      "arch": "x86_64",
      "commit": "bbb5ca97218653ef462cbb4ab58889f85e98481d",
      "fileid": "https://r2.ropensci.org/12497bbf6ff648120bd834ec762fb2cc47ac0e1e15af1238dcdffcdafb0438c6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cornball-ai/actions/runs/28120923416"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-24T18:37:17.000Z",
      "arch": "x86_64",
      "commit": "bbb5ca97218653ef462cbb4ab58889f85e98481d",
      "fileid": "https://r2.ropensci.org/446496b67fc1d2f323aa0e568add7600f23ab19a49d3dd224fe4725934cbc7b7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cornball-ai/actions/runs/28120923416"
    }
  ]
}