Skip to content

Commit

Permalink
fixing #49 with bibtex_core_data
Browse files Browse the repository at this point in the history
  • Loading branch information
muschellij2 committed Jan 29, 2024
1 parent 41d974b commit 686e843
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
@@ -1,7 +1,7 @@
Package: rscopus
Type: Package
Title: Scopus Database 'API' Interface
Version: 0.7.1
Version: 0.7.2
Authors@R: person(given = "John", family = "Muschelli",
role = c("aut", "cre"), email = "muschellij2@gmail.com")
Maintainer: John Muschelli <muschellij2@gmail.com>
Expand Down Expand Up @@ -36,6 +36,6 @@ Suggests:
URL: https://dev.elsevier.com/sc_apis.html,
https://github.com/muschellij2/rscopus
BugReports: https://github.com/muschellij2/rscopus/issues
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
Encoding: UTF-8
VignetteBuilder: knitr
1 change: 1 addition & 0 deletions R/bibtex_core_data.R
Expand Up @@ -70,6 +70,7 @@ bibtex_core_data = function(x) {
if (!is.null(title)) {
title = trimws(title)
split_title = strsplit(title, " ")[[1]]
split_title = gsub("[[:punct:]]", "", split_title)
} else {
warning("Title is NULL!")
split_title = NA_character_
Expand Down

0 comments on commit 686e843

Please sign in to comment.