Skip to content

Commit 7fe463e

Browse files
committed
docs: change CRAN badge type in README
1 parent 0af1885 commit 7fe463e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ knitr::opts_chunk$set(
1616
# openFDA
1717

1818
<!-- badges: start -->
19-
[![CRAN status](https://www.r-pkg.org/badges/version/openFDA)](https://CRAN.R-project.org/package=openFDA)
19+
[![CRAN status](https://www.r-pkg.org/badges/version-last-release/openFDA)](https://CRAN.R-project.org/package=openFDA)
2020
[![R-CMD-check](https://github.com/simpar1471/openFDA/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/simpar1471/openFDA/actions/workflows/R-CMD-check.yaml)
2121
[![check-no-suggests](https://github.com/simpar1471/openFDA/actions/workflows/check-no-suggests.yaml/badge.svg)](https://github.com/simpar1471/openFDA/actions/workflows/check-no-suggests.yaml)
2222
[![Codecov test coverage](https://codecov.io/gh/simpar1471/openFDA/graph/badge.svg?token=1Y7FL87Z21)](https://codecov.io/gh/simpar1471/openFDA)

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<!-- badges: start -->
77

88
[![CRAN
9-
status](https://www.r-pkg.org/badges/version/openFDA)](https://CRAN.R-project.org/package=openFDA)
9+
status](https://www.r-pkg.org/badges/version-last-release/openFDA)](https://CRAN.R-project.org/package=openFDA)
1010
[![R-CMD-check](https://github.com/simpar1471/openFDA/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/simpar1471/openFDA/actions/workflows/R-CMD-check.yaml)
1111
[![check-no-suggests](https://github.com/simpar1471/openFDA/actions/workflows/check-no-suggests.yaml/badge.svg)](https://github.com/simpar1471/openFDA/actions/workflows/check-no-suggests.yaml)
1212
[![Codecov test
@@ -99,7 +99,7 @@ search
9999
#> https://api.fda.gov/drug/drugsfda.json?search=openfda.generic_name:furosemide&limit=5
100100
#> Status: 200 OK
101101
#> Content-Type: application/json
102-
#> Body: In memory (44851 bytes)
102+
#> Body: In memory (25782 bytes)
103103
```
104104

105105
The returned `httr2` response object contains JSON data from the API -
@@ -125,9 +125,9 @@ purrr::map_chr(
125125
.x = json$results,
126126
.f = \(result) purrr::pluck(result, "openfda", "manufacturer_name", 1)
127127
)
128-
#> [1] "Hospira, Inc." "Hikma Pharmaceuticals USA Inc."
129-
#> [3] "Hikma Pharmaceuticals USA Inc." "Hikma Pharmaceuticals USA Inc."
130-
#> [5] "Gland Pharma Limited"
128+
#> [1] "Rising Pharma Holdings, Inc." "Hikma Pharmaceuticals USA Inc."
129+
#> [3] "Civica, Inc." "Leading Pharma, LLC"
130+
#> [5] "Meitheal Pharmaceuticals Inc."
131131
```
132132

133133
## Other R packages for openFDA

0 commit comments

Comments
 (0)