Movatterモバイル変換


[0]ホーム

URL:


Dirk Eddelbuettel

drat: Drat R Archive Template

Build StatusLicenseCRANDependenciesDownloadsLast CommitDocumentation

drat

What cute people say when they are pissed off

“Oh Drat, i lost my wallet”

UrbanDictionary

Background

The R package ecosystem is one of the cornerstones of the successseen by R. As of July 2020, over 16000 packages are onCRAN, with about one thousand moreatBioConductor.

Support for multiple repositories is built deeply into R; mostly viathe (default) packageutils. Theupdate.packagesfunction (along with several others from theutils package)can be used with ease for these three default repositories as well asmany others. But it seemed that support forsimple creation anduse of local repositories was missing.

Drat triesto help here and supports two principal modes:

  • GitHub by leveraginggh-pages
  • Other repos by using other storage where you can write andprovide html access

Please see the next section about how to get started, the packagedocumentation, thedrat packagepage or theblog section ondrat for more.

Getting Started

See the vignettes

for the FAQ, two principal uses cases, basic motivation and anoverview / introduction. The package documentation provides moredetails. Thedratpackage page has a longer tutorial, and theblog section ondrat has even more.

Installation

You can install the package fromCRAN via the standard

install.packages("drat")

or alternatively, you can also do

install.packages("drat",repos="https://eddelbuettel.github.io/drat")

to install directly from the drat repository.

Status

The package has been available fromCRAN since the Spring of 2015 andstarting to get some use. Possible improvements, additions and nextsteps are listed in theTODO.mdfile.

A few drat repositories are starting to appear (besides this one). Anincomplete list (looking at the direct forks as well as GitHubsearch):

TherOpenSci project usesdrat todistribute their code and has written aniceblog post about it.

Travis Integration

Colin Gillespie has started to integrateTravis CI with drat, see hisdratTravisrepository for more details, and the contributed vignetteCombiningDrat and Travis

Author

Dirk Eddelbuettel, with contributions by Felix Ernst, Neal Fultz,Colin Gillespie, Christoph Stepper, Thomas Leeper, Mark van der Loo, JanGorecki, and others.

License

GPL (>= 2)

Initially created: Sun Feb 01 13:21:53 CDT 2015
Last modified: Sun May 26 10:01:18 CDT 2024


[8]
ページ先頭

©2009-2025 Movatter.jp