| 1 |
#' Upload an image to imgur.com |
| 2 |
#' |
| 3 |
#' This function is an alias to \code{xfun::upload_imgur()}. It is kept in |
| 4 |
#' \pkg{knitr} only for backward-compatibility reasons. You are recommended to |
| 5 |
#' use \code{xfun::upload_imgur()} directly instead. |
| 6 |
#' @param file,key,... See \code{xfun::\link[xfun]{upload_imgur}()}. |
| 7 |
#' @export |
| 8 |
#' @keywords internal |
| 9 |
imgur_upload = function(file, key = xfun::env_option('knitr.imgur.key'), ...) { |
| 10 |
xfun::upload_imgur(file, key, ..., include_xml = TRUE) |
| 11 |
} |