A new release of drat arrived on CRAN today. This is the first release in a few months (with the last release in July of last year) and it (finally) makes the leap to supporting
docs/ in the main branch as we are all so tired of the
gh-pages branch. We also have new vignettes, new (and very shiny) documentation and refreshed vignettes!
drat stands for drat R Archive Template, and helps with easy-to-create and easy-to-use repositories for R packages. Since its inception in early 2015 it has found reasonably widespread adoption among R users because repositories with marked releases is the better way to distribute code. See below for a few custom reference examples.
Because for once it really is as your mother told you: Friends don’t let friends install random git commit snapshots. Or as we may now add: stay away from semi-random universes snapshots too.
Properly rolled-up releases it is. Just how CRAN shows us: a model that has demonstrated for two-plus decades how to do this. And you can too:
drat is easy to use, documented by (now) six vignettes and just works.
NEWS file summarises the release as follows:
Changes in drat version 0.2.0 (2021-04-21)
A documentation website for the package was added at https://eddelbuettel.github.io/drat/ (Dirk)
The continuous integration was switched to using ‘r-ci’ (Dirk)
docs/directory of the main repository branch can now be used instead of
gh-pagesbranch (Dirk in #112)
A new repository https://github.com/drat-base/drat can now be used to fork an initial
The test suite was refactored for
docs/use (Felix Ernst in #118)
The minimum R version is now ‘R (>= 3.6)’ (Dirk fixing #119)
The vignettes were switched to
minidown(Dirk fixing #116)
A new test file was added to ensure ‘NEWS.Rd’ is always at the current release version.
If you like this or other open-source work I do, you can now sponsor me at GitHub.