Skip to content

Commit

Permalink
revert 91eafea: xfun 0.51 is on CRAN now
Browse files Browse the repository at this point in the history
  • Loading branch information
yihui committed Feb 24, 2025
1 parent 7ea4fc8 commit c15db9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 3 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: knitr
Type: Package
Title: A General-Purpose Package for Dynamic Report Generation in R
Version: 1.49.7
Version: 1.49.8
Authors@R: c(
person("Yihui", "Xie", role = c("aut", "cre"), email = "[email protected]", comment = c(ORCID = "0000-0003-0645-5666", URL = "https://yihui.org")),
person("Abhraneel", "Sarma", role = "ctb"),
Expand Down Expand Up @@ -120,7 +120,7 @@ Imports:
highr (>= 0.11),
methods,
tools,
xfun (>= 0.50),
xfun (>= 0.51),
yaml (>= 2.1.19)
Suggests:
bslib,
Expand Down Expand Up @@ -199,3 +199,4 @@ Collate:
'utils-vignettes.R'
'zzz.R'
RoxygenNote: 7.3.2
Remotes: rstudio/tinytex
2 changes: 0 additions & 2 deletions R/utils-upload.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,5 @@
#' @export
#' @keywords internal
imgur_upload = function(file, key = xfun::env_option('knitr.imgur.key'), ...) {
# TODO: remove this after xfun 0.51
if (is.null(key)) key = paste(rev(strsplit('01a236c49e09142','')[[1]]), collapse = '')
xfun::upload_imgur(file, key, ..., include_xml = TRUE)
}

0 comments on commit c15db9d

Please sign in to comment.