Skip to content

Commit

Permalink
Improve badges
Browse files Browse the repository at this point in the history
  • Loading branch information
dieghernan committed Jan 22, 2024
1 parent eaae096 commit 5a8f1af
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 11 deletions.
8 changes: 6 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -140,16 +140,20 @@ tibble::as_tibble(summary[, -c(1, 2)])
## Other alternatives

- [**xfun**](https://cran.r-project.org/package=xfun) package by Yihui Xie
([❤️ Sponsor him](https://github.com/sponsors/yihui)) has the following
functions that optimize image files:
[![Sponsor Yihui Xie on
GitHub](https://img.shields.io/badge/Sponsor-white?style=flat&logo=github&logoColor=%23bf3989)](https://github.com/sponsors/yihui)
has the following functions that optimize image files:

- `xfun::tinify()` is similar to `resmush_file()` but uses
[TinyPNG](https://tinypng.com/). API key required.
- `xfun::optipng()` compress local files with OptiPNG (that needs to be
installed locally).

- [**optout**](https://github.com/coolbutuseless/optout) package by
[\@coolbutuseless](https://coolbutuseless.github.io/). Similar to
`xfun::optipng()` with additionall options. Needs additional software
installed locally.

- [Imgbot](https://imgbot.net/): Automatic optimization for files hosted in
GitHub repos.

Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,16 +136,20 @@ tibble::as_tibble(summary[, -c(1, 2)])
## Other alternatives

- [**xfun**](https://cran.r-project.org/package=xfun) package by Yihui
Xie ([❤️ Sponsor him](https://github.com/sponsors/yihui)) has the
following functions that optimize image files:
Xie [![Sponsor Yihui Xie on
GitHub](https://img.shields.io/badge/Sponsor-white?style=flat&logo=github&logoColor=%23bf3989)](https://github.com/sponsors/yihui)
has the following functions that optimize image files:

- `xfun::tinify()` is similar to `resmush_file()` but uses
[TinyPNG](https://tinypng.com/). API key required.
- `xfun::optipng()` compress local files with OptiPNG (that needs to
be installed locally).

- [**optout**](https://github.com/coolbutuseless/optout) package by
[@coolbutuseless](https://coolbutuseless.github.io/). Similar to
`xfun::optipng()` with additionall options. Needs additional software
installed locally.

- [Imgbot](https://imgbot.net/): Automatic optimization for files hosted
in GitHub repos.

Expand Down
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
},
"SystemRequirements": null
},
"fileSize": "568.735KB",
"fileSize": "569.296KB",
"citation": [
{
"@type": "SoftwareSourceCode",
Expand Down
7 changes: 4 additions & 3 deletions vignettes/resmush.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,10 @@ tibble::as_tibble(summary[, -c(1, 2)])

## Other alternatives

- [**xfun**](https://cran.r-project.org/package=xfun) package by Yihui Xie
([❤️ Sponsor him](https://github.com/sponsors/yihui)) has the following
functions that optimize image files:
- [**xfun**](https://cran.r-project.org/package=xfun) package by Yihui
Xie [![Sponsor Yihui Xie on
GitHub](https://img.shields.io/badge/Sponsor-white?style=flat&logo=github&logoColor=%23bf3989)](https://github.com/sponsors/yihui)
has the following functions that optimize image files:
- `xfun::tinify()` is similar to `resmush_file()` but uses
[TinyPNG](https://tinypng.com/). API key required.
- `xfun::optipng()` compress local files with OptiPNG (that needs to be
Expand Down
7 changes: 4 additions & 3 deletions vignettes/resmush.Rmd.orig
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,10 @@ tibble::as_tibble(summary[,-c(1,2)])

## Other alternatives

- [**xfun**](https://cran.r-project.org/package=xfun) package by Yihui Xie
([❤️ Sponsor him](https://github.com/sponsors/yihui)) has the following
functions that optimize image files:
- [**xfun**](https://cran.r-project.org/package=xfun) package by Yihui
Xie [![Sponsor Yihui Xie on
GitHub](https://img.shields.io/badge/Sponsor-white?style=flat&logo=github&logoColor=%23bf3989)](https://github.com/sponsors/yihui)
has the following functions that optimize image files:
- `xfun::tinify()` is similar to `resmush_file()` but uses
[TinyPNG](https://tinypng.com/). API key required.
- `xfun::optipng()` compress local files with OptiPNG (that needs to be
Expand Down

0 comments on commit 5a8f1af

Please sign in to comment.