{"id":13707841,"url":"https://github.com/eddelbuettel/drat","last_synced_at":"2025-05-15T04:00:29.799Z","repository":{"id":26701717,"uuid":"30158790","full_name":"eddelbuettel/drat","owner":"eddelbuettel","description":"Drat R Archive Template","archived":false,"fork":false,"pushed_at":"2024-12-31T16:49:05.000Z","size":2699,"stargazers_count":153,"open_issues_count":1,"forks_count":101,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-14T03:11:47.811Z","etag":null,"topics":["cran","r","r-package","repository","repository-tools"],"latest_commit_sha":null,"homepage":"https://eddelbuettel.github.io/drat","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eddelbuettel.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-02-01T20:32:00.000Z","updated_at":"2025-04-01T00:57:38.000Z","dependencies_parsed_at":"2023-02-15T17:30:28.397Z","dependency_job_id":"35dd8295-d372-4e33-bf4f-1a7b2524889f","html_url":"https://github.com/eddelbuettel/drat","commit_stats":{"total_commits":415,"total_committers":26,"mean_commits":"15.961538461538462","dds":"0.19999999999999996","last_synced_commit":"680a1fa257bfd451ca4d2b7d1b7c01305ec96823"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Fdrat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Fdrat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Fdrat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eddelbuettel%2Fdrat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eddelbuettel","download_url":"https://codeload.github.com/eddelbuettel/drat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254270640,"owners_count":22042858,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cran","r","r-package","repository","repository-tools"],"created_at":"2024-08-02T22:01:45.499Z","updated_at":"2025-05-15T04:00:29.752Z","avatar_url":"https://github.com/eddelbuettel.png","language":"HTML","funding_links":[],"categories":["HTML","R","R Development"],"sub_categories":[],"readme":"## drat: Drat R Archive Template\n\n[![CI](https://github.com/eddelbuettel/drat/workflows/ci/badge.svg)](https://github.com/eddelbuettel/drat/actions?query=workflow%3Aci)\n[![License](https://img.shields.io/badge/license-GPL%20%28%3E=%202%29-brightgreen.svg?style=flat)](https://www.gnu.org/licenses/gpl-2.0.html)\n[![CRAN](https://www.r-pkg.org/badges/version/drat)](https://cran.r-project.org/package=drat)\n[![r-universe](https://eddelbuettel.r-universe.dev/badges/drat)](https://eddelbuettel.r-universe.dev/drat)\n[![Dependencies](https://tinyverse.netlify.app/badge/drat)](https://cran.r-project.org/package=drat)\n[![Downloads](https://cranlogs.r-pkg.org/badges/drat?color=brightgreen)](https://www.r-pkg.org/pkg/drat)\n[![Last Commit](https://img.shields.io/github/last-commit/eddelbuettel/drat)](https://github.com/eddelbuettel/drat)\n[![Documentation](https://img.shields.io/badge/documentation-is_here-blue)](https://eddelbuettel.github.io/drat/)\n[![Fork](https://img.shields.io/badge/fork-this_instead-orange)](https://github.com/drat-base/drat)\n\n\u003e **drat**\n\u003e\n\u003e What cute people say when they are pissed off\n\u003e\n\u003e _\"Oh Drat, i lost my wallet\"_\n\u003e\n\u003e [Urban Dictionary](https://www.urbandictionary.com/define.php?term=drat)\n\n### Nota Bene\n\nDo **not** fork _this_ repo as a quick start towards creating your `drat`, fork [this\nrepo](https://github.com/drat-base/drat) instead. See below for more.\n\n### Background\n\nThe R package ecosystem is one of the cornerstones of the success seen by R.\nAs of July 2020, over 16000 packages are on [CRAN](https://cran.r-project.org),\nwith about one thousand more at [BioConductor](https://www.bioconductor.org).\n\nSupport for multiple repositories is built deeply into R; mostly via the\n(default) package `utils`. The\n[`update.packages`](https://www.rdocumentation.org/packages/utils/functions/update.packages)\nfunction (along with several others from the `utils` package) can be used with\nease for these three default repositories as well as many others. But it\nseemed that support for _simple creation and use_ of local repositories was\nmissing.\n\n[Drat](https://dirk.eddelbuettel.com/code/drat.html) tries to help here and supports two principal modes:\n\n- *GitHub* by leveraging `gh-pages`\n- *Other repos* by using other storage where you can write and provide html access\n\nPlease see the next section about how to get started, the package documentation, the\n[drat package page](https://dirk.eddelbuettel.com/code/drat.html) or the\n[blog section on drat](http://dirk.eddelbuettel.com/blog/code/drat/) for more.\n\n### Getting Started\n\nDo **not** fork _this_ repo as a quick start towards creating your `drat`, fork [this\nrepo](https://github.com/drat-base/drat) instead. See below for more.\n\nSee the vignettes\n\n- [Drat FAQ](https://eddelbuettel.github.io/drat/vignettes/dratfaq/),\n- [Drat for Package Authors](https://eddelbuettel.github.io/drat/vignettes/dratforauthors/),\n- [Drat for Package Users](https://eddelbuettel.github.io/drat/vignettes/dratforusers/)\n- [Drat Step by Step](https://eddelbuettel.github.io/drat/vignettes/dratstepbystep/)\n- [Why Drat?](https://eddelbuettel.github.io/drat/vignettes/whydrat/)\n- [Combining Drat and Travis](https://eddelbuettel.github.io/drat/vignettes/combiningdratandtravis/)\n- [Drat Lightning Talk at useR!2015](https://dirk.eddelbuettel.com/papers/useR2015_drat.pdf)\n\nfor the FAQ, two principal uses cases, basic motivation and an overview / introduction.\nThe package documentation provides more details.  The\n[drat package page](https://dirk.eddelbuettel.com/code/drat.html) has a longer\ntutorial, and the\n[blog section on drat](http://dirk.eddelbuettel.com/blog/code/drat/) has even\nmore.\n\nPackage documentation, help pages, vignettes, and more is also available\n[here](https://eddelbuettel.github.io/drat/).\n\n\n\n### Installation\n\nThe preferred approach is to install the released package from [CRAN](https://cran.r-project.org) via the standard\n\n```{.r}\ninstall.packages(\"drat\")\n```\n\ncommand.\n\n\n### Quick Start Towards Your Own Drat\n\n`drat` comes with its own repo creation helper function\n[`initRepo`](https://eddelbuettel.github.io/drat/man/initRepo/), but an even shorter path may be to\nfork an existing repo.  This has been done numerous times with this original repo. However, over\ntime this repo accumulated code refinements along with more documentation making it a little\nunwieldy. So we set up [dedicated repo](https://github.com/drat-base/drat) just to facilitate `drat`\nforking.  Clone it, and you will have a ready-to-use `drat` repository.\n\n### Status\n\nThe package has been available from [CRAN](https://cran.r-project.org) since\nthe Spring of 2015 and starting to get some use. Possible improvements,\nadditions and next steps are listed in the\n[TODO.md](https://github.com/eddelbuettel/drat/blob/master/inst/TODO.md)\nfile.\n\nA few drat repositories are starting to appear (besides this one). An incomplete list (looking at the direct forks as well as GitHub search):\n\n - [yutannihilation](https://github.com/yutannihilation/drat)\n - [gschofl](https://github.com/gschofl/drat/)\n - [csgillespie](https://github.com/csgillespie/drat)\n - [shabbychef](https://github.com/shabbychef/drat)\n - [RcppCore](https://github.com/RcppCore/drat)\n - [arilamstein](https://github.com/arilamstein/drat)\n - [piccolbo](https://github.com/piccolbo/drat)\n - [ghrr](https://github.com/ghrr/drat)\n - [cloudyr](https://cloudyr.github.io/drat/)\n - [dmlc](https://github.com/dmlc/drat)\n - [thospfuller](https://github.com/thospfuller/drat)\n\nThe [rOpenSci](https://ropensci.org) project uses\n[drat](https://dirk.eddelbuettel.com/code/drat.html) to distribute their code\nand has written a\n[nice blog post](https://ropensci.org/blog/2015/08/04/a-drat-repository-for-ropensci/)\nabout it.\n\n### Travis Integration\n\nColin Gillespie integrated [Travis CI](https://www.travis-ci.com) with drat, see his\n[dratTravis](https://github.com/csgillespie/dratTravis) repository for more details, and the\ncontributed vignette [Combining Drat and Travis](https://eddelbuettel.github.io/drat/vignettes/combiningdratandtravis/)\n\n### GitHub Actions\n\nMike Mahoney uses [drat](https://dirk.eddelbuettel.com/code/drat.html)\nwith [GitHub Actions in a 'push' setting](https://www.mm218.dev/posts/2021-09-22-automated-drat-uploads-with-github-actions/),\nwhile Zhian Kamvar uses [drat](https://dirk.eddelbuettel.com/code/drat.html)\nwith [GitHub Actions in a 'pull' setting](https://zkamvar.netlify.app/blog/gh-drat/).\n\n### Author\n\nDirk Eddelbuettel, with contributions by Felix Ernst, Neal Fultz, Colin\nGillespie, Christoph Stepper, Thomas Leeper, Mark van der Loo, Jan Gorecki,\nand others.\n\n### License\n\nGPL (\u003e= 2)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddelbuettel%2Fdrat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feddelbuettel%2Fdrat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feddelbuettel%2Fdrat/lists"}