Skip to content

Commit

Permalink
fix &
Browse files Browse the repository at this point in the history
  • Loading branch information
rempsyc committed Mar 9, 2024
1 parent 758eb99 commit 77b1c3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions R/clean_journals_continents.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ continent_order <- function(short = FALSE) {

#' @noRd
clean_journal_names <- function(journal) {
x <- gsub("&amp;", "&", journal, fixed = TRUE)
x <- gsub(":.*", "", journal)
x <- gsub("[(].*", "", x)
x <- tools::toTitleCase(x)
Expand Down
2 changes: 1 addition & 1 deletion data-raw/journal_field.R
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ economics <- c(
)

general <- c(
"Proceedings of the national academy of sciences",
"Proceedings of the National Academy of Sciences of the United States of America",

Check warning on line 64 in data-raw/journal_field.R

View workflow job for this annotation

GitHub Actions / lint

file=data-raw/journal_field.R,line=64,col=81,[line_length_linter] Lines should not be more than 80 characters. This line is 84 characters.
"Science (New York, N.Y.)",
"Nature",
"Plos one"
Expand Down

0 comments on commit 77b1c3b

Please sign in to comment.