Skip to content

Commit c15db9d

Browse files
committed
revert 91eafea: xfun 0.51 is on CRAN now
1 parent 7ea4fc8 commit c15db9d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

DESCRIPTION

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: knitr
22
Type: Package
33
Title: A General-Purpose Package for Dynamic Report Generation in R
4-
Version: 1.49.7
4+
Version: 1.49.8
55
Authors@R: c(
66
person("Yihui", "Xie", role = c("aut", "cre"), email = "xie@yihui.name", comment = c(ORCID = "0000-0003-0645-5666", URL = "https://yihui.org")),
77
person("Abhraneel", "Sarma", role = "ctb"),
@@ -120,7 +120,7 @@ Imports:
120120
highr (>= 0.11),
121121
methods,
122122
tools,
123-
xfun (>= 0.50),
123+
xfun (>= 0.51),
124124
yaml (>= 2.1.19)
125125
Suggests:
126126
bslib,
@@ -199,3 +199,4 @@ Collate:
199199
'utils-vignettes.R'
200200
'zzz.R'
201201
RoxygenNote: 7.3.2
202+
Remotes: rstudio/tinytex

R/utils-upload.R

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,5 @@
77
#' @export
88
#' @keywords internal
99
imgur_upload = function(file, key = xfun::env_option('knitr.imgur.key'), ...) {
10-
# TODO: remove this after xfun 0.51
11-
if (is.null(key)) key = paste(rev(strsplit('01a236c49e09142','')[[1]]), collapse = '')
1210
xfun::upload_imgur(file, key, ..., include_xml = TRUE)
1311
}

0 commit comments

Comments
 (0)