Skip to content

Commit

Permalink
New version of hex sticker (#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
juliasilge authored Apr 21, 2023
1 parent d7b07cc commit d36a1a2
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ jobs:
extra-packages:
any::rcmdcheck,
randomForest=?ignore-before-r=4.1.0,
flexsurv=?ignore-before-r=4.0.0
flexsurv=?ignore-before-r=4.0.0,
ranger=?ignore-before-r=4.1.0
needs: check

- uses: r-lib/actions/check-r-package@v2
Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ knitr::opts_chunk$set(
)
```

# butcher <a href='https://butcher.tidymodels.org/'><img src='man/figures/logo.png' align="right" height="139" /></a>
# butcher <a href="https://butcher.tidymodels.org"><img src="man/figures/logo.png" align="right" height="138" /></a>

<!-- badges: start -->
[![R-CMD-check](https://github.com/tidymodels/butcher/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/tidymodels/butcher/actions/workflows/R-CMD-check.yaml)
Expand Down
12 changes: 6 additions & 6 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 -->

# butcher <a href='https://butcher.tidymodels.org/'><img src='man/figures/logo.png' align="right" height="139" /></a>
# butcher <a href="https://butcher.tidymodels.org"><img src="man/figures/logo.png" align="right" height="138" /></a>

<!-- badges: start -->

Expand Down Expand Up @@ -90,7 +90,7 @@ butcher::weigh(big_lm)
#> # A tibble: 25 × 2
#> object size
#> <chr> <dbl>
#> 1 terms 8.06
#> 1 terms 8.05
#> 2 qr.qr 0.00666
#> 3 residuals 0.00286
#> 4 fitted.values 0.00286
Expand All @@ -100,7 +100,7 @@ butcher::weigh(big_lm)
#> 8 model.mpg 0.000304
#> 9 model.cyl 0.000304
#> 10 model.disp 0.000304
#> # … with 15 more rows
#> # 15 more rows
```

The problem here is in the `terms` component of our `big_lm`. Because of
Expand All @@ -120,7 +120,7 @@ butcher::weigh(cleaned_lm)
#> # A tibble: 25 × 2
#> object size
#> <chr> <dbl>
#> 1 terms 0.00789
#> 1 terms 0.00771
#> 2 qr.qr 0.00666
#> 3 residuals 0.00286
#> 4 fitted.values 0.00286
Expand All @@ -130,7 +130,7 @@ butcher::weigh(cleaned_lm)
#> 8 model.mpg 0.000304
#> 9 model.cyl 0.000304
#> 10 model.disp 0.000304
#> # … with 15 more rows
#> # 15 more rows
```

…it now takes the same memory on disk as `small_lm`:
Expand All @@ -150,7 +150,7 @@ butcher::weigh(small_lm)
#> 8 model.mpg 0.000304
#> 9 model.cyl 0.000304
#> 10 model.disp 0.000304
#> # … with 15 more rows
#> # 15 more rows
```

Axing the environment is not the only functionality of `butcher`. We can
Expand Down
Binary file removed man/figures/butcher.png
Binary file not shown.
Binary file modified man/figures/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d36a1a2

Please sign in to comment.