library(tidyverse)
library(mgcv)
#> Loading required package: nlme
#>
#> Attaching package: 'nlme'
#> The following object is masked from 'package:dplyr':
#>
#> collapse
#> This is mgcv 1.8-41. For overview type 'help("mgcv-package")'.I get asked pretty regularly what my opinion is on merge commits vs rebasing vs squashing. I've typed up this response so many times that I've decided to just put it in a gist so I can reference it whenever it comes up again.
I use merge, squash, rebase all situationally. I believe they all have their merits but their usage depends on the context. I think anyone who says any particular strategy is the right answer 100% of the time is wrong, but I think there is considerable acceptable leeway in when you use each. What follows is my personal and professional opinion:
| ```{r} | |
| library(tidyverse) | |
| # https://www.produce.co.nz/seasonality-chart/ | |
| fruits <- tibble::tribble( | |
| ~ fruit, ~start, ~ end, | |
| "Blueberry", "October", "April", |
| library(dplyr) | |
| library(ggplot2) | |
| library(patchwork) | |
| library(ggiraph) | |
| dat <- gapminder::gapminder |> | |
| janitor::clean_names() |> | |
| mutate( | |
| # ID that is shared for boxplots (this one uses factors, i.e. numbers, as ID instead of continents) |
Scraping a specific stat for this match. Inspiration here. You can get other player stats in a similar fashion.
library(httr)
library(tibble)
library(tidyr)
library(dplyr)
library(purrr)
library(janitor)| // save to windows-user directory | |
| linters: with_defaults(object_name_linter = NULL, | |
| object_length_linter(50), | |
| commented_code_linter = NULL, | |
| object_usage_linter = NULL, | |
| line_length_linter(120), | |
| cyclocomp_linter = cyclocomp_linter(50)) |
Note: I have moved this list to a proper repository. I'll leave this gist up, but it won't be updated. To submit an idea, open a PR on the repo.
Note that I have not tried all of these personally, and cannot and do not vouch for all of the tools listed here. In most cases, the descriptions here are copied directly from their code repos. Some may have been abandoned. Investigate before installing/using.
The ones I use regularly include: bat, dust, fd, fend, hyperfine, miniserve, ripgrep, just, cargo-audit and cargo-wipe.
