Skip to content

Commit

Permalink
update formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
wjakethompson committed Jun 18, 2024
1 parent d13ab1d commit 287d5a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/write-bib.R
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ cite_cran_pkg <- function(meta) {
"}}",
.sep = "\n"
) |>
format_pkg_caps()
format_pkg_caps() |>
cat()
}

pull_package_authors <- function(meta) {
Expand Down Expand Up @@ -120,7 +121,6 @@ format_pkg_caps <- function(citation) {
stringr::str_replace_all("Taylor Swift's", "{Taylor Swift's}") |>
stringr::str_replace_all(" R ", " {R} ") |>
stringr::str_replace_all("Bayesian", "{Bayesian}") |>
stringr::str_replace_all("(?<!R-|=)tdcmStan", "{tdcmStan}") |>
stringr::str_replace_all("(?<!m)Stan", "{Stan}") |>
stringr::str_replace_all("TDCMs", "{TDCMs}")
stringr::str_replace_all("TDCMs", "{TDCMs}") |> cat()

Check warning on line 125 in R/write-bib.R

View workflow job for this annotation

GitHub Actions / lint

file=R/write-bib.R,line=125,col=50,[pipe_continuation_linter] `|>` should always have a space before it and a new line after it, unless the full pipeline fits on one line.
}

0 comments on commit 287d5a7

Please sign in to comment.