Skip to content

Commit

Permalink
deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
rempsyc committed May 30, 2024
1 parent dd10a4d commit 823f2fb
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ Authors@R:
person("Rémi", "Thériault", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-4315-6788"))
Description: Package to facilitate the creation of data visualization dashboards
through the flexdashboard and easyPubMed packages.
through the flexdashboard and easyPubMed packages. This package is now
deprecated in favour of the pubDashboard package.
License: GPL (>= 3)
Imports:
easyPubMed,
Expand Down
2 changes: 1 addition & 1 deletion R/clean_journals_continents.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ continent_order <- function(short = FALSE) {

#' @noRd
clean_journal_names <- function(journal) {
x <- gsub("&amp;", "and", journal, fixed = TRUE)
x <- gsub("&amp;", "&", journal, fixed = TRUE)
x <- gsub(" of the United States of America", "", x, fixed = TRUE)
x <- gsub(":.*", "", x)
x <- gsub("[(].*", "", x)
Expand Down
2 changes: 2 additions & 0 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ knitr::opts_chunk$set(
[![stars](https://img.shields.io/github/stars/rempsyc/pubmedDashboard?style=social)](https://github.com/rempsyc/pubmedDashboard/stargazers)
<!-- badges: end -->

**This package is now deprecated in favour of the [`pubDashboard`](https://rempsyc.github.io/pubDashboard/) package.**

The goal of `pubmedDashboard` is to facilitate the creation of pretty data visualization dashboards using the `flexdashboard` and `easyPubMed` packages.

## Installation
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](h
[![stars](https://img.shields.io/github/stars/rempsyc/pubmedDashboard?style=social)](https://github.com/rempsyc/pubmedDashboard/stargazers)
<!-- badges: end -->

**This package is now deprecated in favour of the [`pubDashboard`](https://rempsyc.github.io/pubDashboard/) package.**

The goal of `pubmedDashboard` is to facilitate the creation of pretty
data visualization dashboards using the `flexdashboard` and `easyPubMed`
packages.
Expand Down
6 changes: 1 addition & 5 deletions data-raw/journal_field.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ psychology <- c(
"Psychological science",
"Child development",
"Developmental science",
"Personality and social psychology bulletin",
"Personality & social psychology bulletin",
"Nature human behaviour"
)

Expand Down Expand Up @@ -72,10 +72,6 @@ journal_field <- data.frame(
)

journal_field$journal_short <- clean_journal_names(journal_field$journal)
# journal_field$journal_short <- gsub(":.*", "", journal_field$journal)
# journal_field$journal_short <- gsub("[(].*", "", journal_field$journal_short)
# journal_field$journal_short <- tools::toTitleCase(journal_field$journal_short)
# journal_field$journal_short <- trimws(journal_field$journal_short)

journal_field$field <- ifelse(
journal_field$journal %in% psychology, "psychology", ifelse(
Expand Down
Binary file modified data/journal_field.rda
Binary file not shown.

0 comments on commit 823f2fb

Please sign in to comment.