Code Monkey home page Code Monkey logo

badger's Introduction

badger: Badge for R Package

Query information and generate badge for using in README and GitHub Pages.

Author

Guangchuang YU https://guangchuangyu.github.io

School of Basic Medical Sciences, Southern Medical University

saythanks

Installation

Get the released version from CRAN:

install.packages("badger")

Or the development version from github:

## install.packages("devtools")
devtools::install_github("GuangchuangYu/badger")

Examples

Package Version

  • release version (bioconductor)
    • syntax: `r badge_bioc_release("ggtree", "green")`
    • badge:
  • release version (CRAN)
    • syntax: `r badge_cran("badger", "orange")`
    • badge:
  • devel version
    • syntax: `r badge_devel("guangchuangyu/ggtree", "blue")`
    • badge:

Download stats for bioconductor

  • Total of total :)
    • syntax: `r badge_bioc_download("clusterProfiler", "total", "blue", "total")`
    • badge:
  • Total of distinct IPs
    • syntax: `r badge_bioc_download("clusterProfiler", "total", "yellow")`
    • badge:
  • Monthly download of distinct IPs
    • syntax: `r badge_bioc_download("clusterProfiler", "month", "green")`
    • badge:

Download stats for CRAN

  • Total downloads
    • syntax: `r badge_cran_download("badger", "grand-total", "blue")`
    • badge:
  • Monthly Downloads
    • syntax: `r badge_cran_download("badger", "last-month", "green")`
    • badge:
  • Weekly Downloads
    • syntax: `r badge_cran_download("badger", "last-week", "yellow")`
    • badge:

Impact

  • Altmetric score
    • syntax: `r badge_altmetric("10533079", "green")`
    • badge:

Academic

  • DOI
    • syntax: `r badge_doi("10.1111/2041-210X.12628", "yellow")`
    • badge:

Customize badge

  • syntax: `r badge_custom("1st most cited paper", "in OMICS", "blue", "http://online.liebertpub.com/action/showMostCitedArticles?journalCode=omi")`
  • badge:

Development

  • Lifecycle
    • syntax: `r badge_lifecycle("maturing", "blue")`
    • badge:
  • travis build-status
    • syntax: `r badge_travis("rstudio/rmarkdown")`
    • badge:
  • coveralls code coverage
    • syntax: `r badge_coveralls("google/benchmark")`
    • badge:
  • code size
    • syntax: `r badge_code_size("GuangchuangYu/badger")`
    • badge:
  • last commit date
    • syntax: `r badge_last_commit("GuangchuangYu/badger")`
    • badge:
  • direct and recursive dependencies (for CRAN pkgs)
    • syntax: `r badge_dependencies("badger")`
    • badge: Dependencies
  • CRAN checks results
    • syntax: `r badge_cran_checks("badger")`
    • badge: CRAN checks

Related Tools

badger's People

Contributors

eddelbuettel avatar gregordecillia avatar guangchuangyu avatar katrinleinweber avatar maelle avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.