Skip to content

Commit

Permalink
Replace logo.png by logo.svg (#239)
Browse files Browse the repository at this point in the history
# Pull Request

Replace the logo.png by logo.svg to reduce the package size (1.92Mb to
8Kb for the logo).

Apparently the new logo is not picked up by roxygen2 to be shown on
rlistings-package.Rd.
In addition, rendering the README to pick the new logo also caused some
new messages to be displayed.

Fixes insightsengineering/nestdevs-tasks#93
  • Loading branch information
llrs-roche authored Dec 18, 2024
1 parent f645457 commit 4c3bb23
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ knitr::opts_chunk$set(
)
```

# rlistings <a href='https://github.com/insightsengineering/rlistings'><img src="man/figures/logo.png" align="right" height="200" width="200"/></a>
# rlistings <a href='https://github.com/insightsengineering/rlistings'><img src="man/figures/logo.svg" align="right" height="200" width="200"/></a>

<!-- start badges -->

Expand Down
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

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

# rlistings <a href='https://github.com/insightsengineering/rlistings'><img src="man/figures/logo.png" align="right" height="200" width="200"/></a>
# rlistings <a href='https://github.com/insightsengineering/rlistings'><img src="man/figures/logo.svg" align="right" height="200" width="200"/></a>

<!-- start badges -->

Expand Down Expand Up @@ -98,6 +98,13 @@ The following example shows a simple listing and its printed output.

``` r
library(rlistings)
#> Loading required package: formatters
#>
#> Attaching package: 'formatters'
#> The following object is masked from 'package:base':
#>
#> %||%
#> Loading required package: tibble

# Reducing the data
mtcars_ex <- mtcars %>% dplyr::mutate("car" = rownames(mtcars))
Expand All @@ -106,7 +113,6 @@ as_listing(mtcars_ex,
key_cols = c("gear", "carb"),
disp_cols = c("gear", "carb", "qsec", "car")
) %>% head()
#> sorting incoming data by key columns
#> gear carb qsec car
#> ———————————————————————————————————————
#> 3 1 19.44 Hornet 4 Drive
Expand Down
Binary file removed man/figures/logo.png
Binary file not shown.
File renamed without changes
2 changes: 0 additions & 2 deletions man/rlistings-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4c3bb23

Please sign in to comment.