All Projects → eddelbuettel → Drat

eddelbuettel / Drat

Drat R Archive Template

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to Drat

rcppgsl
Rcpp integration for GNU GSL vectors and matrices
Stars: ✭ 28 (-77.95%)
Mutual labels:  cran, r-package
Rcpp
Seamless R and C++ Integration
Stars: ✭ 572 (+350.39%)
Mutual labels:  r-package, cran
digest
R package to create compact hash digests of R objects
Stars: ✭ 94 (-25.98%)
Mutual labels:  cran, r-package
PackageDevelopment
Task View: PackageDevelopment
Stars: ✭ 38 (-70.08%)
Mutual labels:  cran, r-package
Minicran
R package to create internally consistent, mini version of CRAN
Stars: ✭ 123 (-3.15%)
Mutual labels:  r-package, cran
UCSCXenaShiny
📊 An R package for interactively exploring UCSC Xena https://xenabrowser.net/datapages/
Stars: ✭ 52 (-59.06%)
Mutual labels:  cran, r-package
Mlr
Machine Learning in R
Stars: ✭ 1,542 (+1114.17%)
Mutual labels:  r-package, cran
heddlr
Bring a functional programming mindset to R Markdown document generation
Stars: ✭ 14 (-88.98%)
Mutual labels:  cran, r-package
Pkgsearch
Search R packages on CRAN
Stars: ✭ 73 (-42.52%)
Mutual labels:  r-package, cran
Nanotime
Nanosecond Resolution Time Functionality for R
Stars: ✭ 39 (-69.29%)
Mutual labels:  r-package, cran
pbapply
Adding progress bar to '*apply' functions in R
Stars: ✭ 115 (-9.45%)
Mutual labels:  cran, r-package
Wooldridge
The official R data package for "Introductory Econometrics: A Modern Approach". A vignette contains example models from each chapter.
Stars: ✭ 90 (-29.13%)
Mutual labels:  r-package, cran
FLightR
R package to position animals with solar geolocation archival tags
Stars: ✭ 16 (-87.4%)
Mutual labels:  cran, r-package
xfun
Miscellaneous R functions
Stars: ✭ 102 (-19.69%)
Mutual labels:  cran, r-package
jpndistrict
🗾 Create Japansese Administration Area Maps
Stars: ✭ 18 (-85.83%)
Mutual labels:  cran, r-package
Dataexplorer
Automate Data Exploration and Treatment
Stars: ✭ 362 (+185.04%)
Mutual labels:  r-package, cran
pkgkitten
Create simple packages which pass R CMD check
Stars: ✭ 31 (-75.59%)
Mutual labels:  cran, r-package
rprotobuf
R Interface to Protocol Buffers
Stars: ✭ 62 (-51.18%)
Mutual labels:  cran, r-package
Configr
Implements the JSON, INI, YAML and TOML parser, for R setting and writing of configuration file.
Stars: ✭ 38 (-70.08%)
Mutual labels:  r-package, cran
Markovchain
Easy Handling Discrete Time Markov Chains
Stars: ✭ 80 (-37.01%)
Mutual labels:  r-package, cran

drat: Drat R Archive Template

Build Status CI License CRAN Dependencies Downloads Last Commit Documentation Fork

drat

What cute people say when they are pissed off

"Oh Drat, i lost my wallet"

Urban Dictionary

Nota Bene

Do not fork this repo as a quick start towards creating your drat, fork this repo instead. See below for more.

Background

The R package ecosystem is one of the cornerstones of the success seen by R. As of July 2020, over 16000 packages are on CRAN, with about one thousand more at BioConductor.

Support for multiple repositories is built deeply into R; mostly via the (default) package utils. The update.packages function (along with several others from the utils package) can be used with ease for these three default repositories as well as many others. But it seemed that support for simple creation and use of local repositories was missing.

Drat tries to help here and supports two principal modes:

  • GitHub by leveraging gh-pages
  • Other repos by using other storage where you can write and provide html access

Please see the next section about how to get started, the package documentation, the drat package page or the blog section on drat for more.

Getting Started

Do not fork this repo as a quick start towards creating your drat, fork this repo instead. See below for more.

See the vignettes

for the FAQ, two principal uses cases, basic motivation and an overview / introduction. The package documentation provides more details. The drat package page has a longer tutorial, and the blog section on drat has even more.

Package documentation, help pages, vignettes, and more is also available here.

Installation

The preferred approach is to install the released package from CRAN via the standard

install.packages("drat")

command.

Quick Start Towards Your Own Drat

drat comes with its own repo creation helper function initRepo, but an even shorter path may be to fork an existing repo. This has been done numerous times with this original repo. However, over time this repo accumulated code refinements along with more documentation making it a little unwieldy. So we set up dedicated repo just to facilitate drat forking. Clone it, and you will have a ready-to-use drat repository.

Status

The package has been available from CRAN since the Spring of 2015 and starting to get some use. Possible improvements, additions and next steps are listed in the TODO.md file.

A few drat repositories are starting to appear (besides this one). An incomplete list (looking at the direct forks as well as GitHub search):

The rOpenSci project uses drat to distribute their code and has written a nice blog post about it.

Travis Integration

Colin Gillespie has started to integrate Travis CI with drat, see his dratTravis repository for more details, and the contributed vignette Combining Drat and Travis

Author

Dirk Eddelbuettel, with contributions by Carl Boettiger, Sebastian Gibb, Colin Gillespie, Matt Jones, Thomas Leeper, Steven Pav, Jan Schulz, Christoph Stepper, Felix G.M. Ernst, and Patrick Schratz.

License

GPL (>= 2)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].