https://github.com/inbo/drat
A repository with R packages created and maintained by INBO
https://github.com/inbo/drat
bookdown drat ggplot2 ggplot2-themes imputation packages r rmarkdown-templates
Last synced: 7 months ago
JSON representation
A repository with R packages created and maintained by INBO
- Host: GitHub
- URL: https://github.com/inbo/drat
- Owner: inbo
- License: mit
- Created: 2017-07-13T07:54:30.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-07T15:18:24.000Z (over 7 years ago)
- Last Synced: 2025-01-11T19:42:59.021Z (9 months ago)
- Topics: bookdown, drat, ggplot2, ggplot2-themes, imputation, packages, r, rmarkdown-templates
- Homepage: http://inbo.github.io/drat
- Size: 39.8 MB
- Stars: 0
- Watchers: 5
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## INBO drat repository
A [drat](http://dirk.eddelbuettel.com/code/drat.html) repository is a way to make [R packages](https://www.r-project.org) more easily available to end users.
How to use it:
1. Make sure that you have the `drat` package installed
1. Add this repo to your current session `drat::addRepo("inbo")`
1. Use `install.packages()` or `update.packages()` to install or update the packagesVisit https://inbo.github.io/drat/ for an overview of the available packages.
## Issues for packages maintainers
- Use the `Authors@R` in the [DESCRIPTION](https://cran.r-project.org/doc/manuals/r-release/R-exts.html#The-DESCRIPTION-file). This is required to generate the package website with [`pkgdown`](http://pkgdown.r-lib.org/).
- Use a fixed date in the vignette preable. Setting the date to `Sys.Date()` cause the the vignette to update with easy run of the drat repository, resulting in unnecessary changes in the history of the drat repository.
- In case the vignette uses HTML widgets, make sure that the have stable id's. The reason for this is similar as the fixed dates. It takes only 3 simple steps:
1. Add `htmlwidgets` to the `DESCRIPTION` under `Suggests`.
1. Add `%\VignetteDepends{htmlwidgets}` to the vignette preamble.
1. Add `library(htmlwidgets)` and `setWidgetIdSeed(my_fancy_number)` to the code of the vignette. `my_fancy_number` can be any integer to your liking.