From bed796215a8339d69e257968ff77bdddc189f154 Mon Sep 17 00:00:00 2001 From: Yihui Xie Date: Tue, 14 Jan 2025 17:13:43 -0600 Subject: [PATCH] remove the default imgur key: https://github.com/yihui/xfun/issues/97 --- DESCRIPTION | 2 +- R/utils-upload.R | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 500463fa9c..5148679c85 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: knitr Type: Package Title: A General-Purpose Package for Dynamic Report Generation in R -Version: 1.49.5 +Version: 1.49.6 Authors@R: c( person("Yihui", "Xie", role = c("aut", "cre"), email = "xie@yihui.name", comment = c(ORCID = "0000-0003-0645-5666", URL = "https://yihui.org")), person("Abhraneel", "Sarma", role = "ctb"), diff --git a/R/utils-upload.R b/R/utils-upload.R index 886eb0e1c1..995bad49da 100644 --- a/R/utils-upload.R +++ b/R/utils-upload.R @@ -6,6 +6,6 @@ #' @param file,key,... See \code{xfun::\link[xfun]{upload_imgur}()}. #' @export #' @keywords internal -imgur_upload = function(file, key = xfun::env_option('knitr.imgur.key', '9f3460e67f308f6'), ...) { +imgur_upload = function(file, key = xfun::env_option('knitr.imgur.key'), ...) { xfun::upload_imgur(file, key, ..., include_xml = TRUE) }