Skip to content

Commit f67cc2f

Browse files
committed
Badge and installation instructions
1 parent 738ba75 commit f67cc2f

File tree

2 files changed

+26
-4
lines changed

2 files changed

+26
-4
lines changed

README.Rmd

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,18 @@ output:
44
html_preview: false
55
---
66

7+
<!-- badges: start -->
8+
[![Lifecycle: maturing](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://www.tidyverse.org/lifecycle/#maturing)
79
[![Travis-CI Build Status](https://travis-ci.org/tidyverse/blob.svg?branch=master)](https://travis-ci.org/tidyverse/blob)
810
[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/blob)](https://cran.r-project.org/package=blob)
911
[![Coverage Status](https://codecov.io/gh/tidyverse/blob/branch/master/graph/badge.svg)](https://codecov.io/github/tidyverse/blob?branch=master)
12+
<!-- badges: end -->
1013

1114
<!-- README.md is generated from README.Rmd. Please edit that file -->
1215

1316
```{r, include = FALSE}
17+
pkgload::load_all()
18+
1419
knitr::opts_chunk$set(
1520
collapse = TRUE,
1621
comment = "#>",
@@ -28,9 +33,14 @@ In most cases you will not need to use this package explicitly: it will be used
2833

2934
## Installation
3035

31-
You can install blob from github with:
36+
```r
37+
# The easiest way to get blob is to install the whole tidyverse:
38+
install.packages("tidyverse")
39+
40+
# Alternatively, install just blob:
41+
install.packages("blob")
3242

33-
```{r gh-installation, eval = FALSE}
43+
# Or the the development version from GitHub:
3444
# install.packages("devtools")
3545
devtools::install_github("tidyverse/blob")
3646
```

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11

2+
<!-- badges: start -->
3+
4+
[![Lifecycle:
5+
maturing](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://www.tidyverse.org/lifecycle/#maturing)
26
[![Travis-CI Build
37
Status](https://travis-ci.org/tidyverse/blob.svg?branch=master)](https://travis-ci.org/tidyverse/blob)
48
[![CRAN\_Status\_Badge](https://www.r-pkg.org/badges/version/blob)](https://cran.r-project.org/package=blob)
59
[![Coverage
610
Status](https://codecov.io/gh/tidyverse/blob/branch/master/graph/badge.svg)](https://codecov.io/github/tidyverse/blob?branch=master)
11+
<!-- badges: end -->
712

813
<!-- README.md is generated from README.Rmd. Please edit that file -->
914

@@ -21,9 +26,14 @@ databases or binary file formats.
2126

2227
## Installation
2328

24-
You can install blob from github with:
25-
2629
``` r
30+
# The easiest way to get blob is to install the whole tidyverse:
31+
install.packages("tidyverse")
32+
33+
# Alternatively, install just blob:
34+
install.packages("blob")
35+
36+
# Or the the development version from GitHub:
2737
# install.packages("devtools")
2838
devtools::install_github("tidyverse/blob")
2939
```
@@ -33,6 +43,8 @@ devtools::install_github("tidyverse/blob")
3343
To create a blob, use `blob()`, `new_blob()` or `as_blob()`:
3444

3545
``` r
46+
library(blob)
47+
3648
x1 <- charToRaw("Good morning")
3749
x2 <- as.raw(c(0x48, 0x65, 0x6c, 0x6c, 0x6f))
3850

0 commit comments

Comments
 (0)