From 3c0195601402478c7a8b5308ba5f8a7c93998c03 Mon Sep 17 00:00:00 2001 From: muschellij2 Date: Mon, 13 Nov 2023 21:30:54 -0500 Subject: [PATCH] addded ability to do verbose on scopus_search --- DESCRIPTION | 2 +- R/scopus_search.R | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 43ab0aa..73d3f4e 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -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.1.1 +RoxygenNote: 7.2.3 Encoding: UTF-8 VignetteBuilder: knitr diff --git a/R/scopus_search.R b/R/scopus_search.R index cb4f537..56b59b7 100644 --- a/R/scopus_search.R +++ b/R/scopus_search.R @@ -154,7 +154,7 @@ scopus_search <- function( } start = irun * count + init_start cr = get_results(query, start = start, count = count, - verbose = FALSE, + verbose = verbose > 1, headers = headers, ...) all_get = c(all_get, cr$get_statement)