Skip to content
This repository has been archived by the owner on Sep 30, 2021. It is now read-only.

Commit

Permalink
Do not remove the figure-html subdir
Browse files Browse the repository at this point in the history
  • Loading branch information
yihui committed Jul 31, 2017
1 parent 2ff91b1 commit 5ee1ade
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/knitr_support.R
Expand Up @@ -30,7 +30,7 @@ knit_print.widgetframe <- function(x, ..., options = NULL) {

# Hack-ish way to get dependencies folder for the parent document.
# See https://github.com/yihui/knitr/issues/1390
defWidgetsDir <- file.path(dirname(knitr::opts_chunk$get('fig.path')),'widgets')
defWidgetsDir <- file.path(knitr::opts_chunk$get('fig.path'), 'widgets')

widgetsDir <- NULL

Expand Down

0 comments on commit 5ee1ade

Please sign in to comment.