This package was inspired by the badgerbadger package that checks for badges of travis, code coverage open issues, dependencies and licenses. It would be nice to have a simple function that adds these things to a readme.rmd file in R. It will save you typing and searching for the exact markdown on the websites of travis, codecov, repostatus.org etc.
This package does now place the following badges /shields:
Possible future badges
Other changes initiatilzation on readme.md only (without active components)
I like to use the following workflow:
You will probably call badgecreatr only once, somewhere during your work.
If you call badgecreatr again when you already have badges, they will be recognized. [(see NEWS)]](NEWS.md)
badgecreatr is on CRAN, install using
install.packages("badgecreatr"). But is has a flaw that I have fixed in the dev version.
The newest ‘developmental’ version is installed with
You can use this package in multiple ways: add a bunch of badges at once with
badgecreatr::badgeplacer(), or you can add the badges with seperate commands, I have named them all
badge_* so that autocomplete will make it much easier for you to find the correct one. See the vignette about scenarios of use for more info.
Want to help or have questions? Contact me directly, use an issue, fork me or submit a pull request.
I found the projectstatus https://www.repostatus.org/ and the wonderful shields.io projects and wanted to implement that for all my packages. But that took a lot of work. Repetitive work, and I don’t like that.
The badgerbadgerbadger project in ruby did all these things automatically. I wanted to do the same thing for R projects. And I did.