to try to fix the error:
Error in find_figure_div(x) : length(start) == length(end) is not TRUE
Calls: ... replace_single_html -> replace_div_data -> find_figure_div -> stopifnot
However, may need to think about where the images are located the function at the top of each slide does this:
function (verbose = FALSE)
{
fp <- knitr::fig_path()
fp <- dirname(fp)
fp <- paste0("resources/images/", fp, "/")
if (verbose) {
message(paste0("figpath is ", fp))
}
knitr::opts_chunk$set(fig.path = fp)
}
to try to fix the error: Error in find_figure_div(x) : length(start) == length(end) is not TRUE Calls: ... replace_single_html -> replace_div_data -> find_figure_div -> stopifnot
However, may need to think about where the images are located the function at the top of each slide does this:
function (verbose = FALSE) { fp <- knitr::fig_path() fp <- dirname(fp) fp <- paste0("resources/images/", fp, "/") if (verbose) { message(paste0("figpath is ", fp)) } knitr::opts_chunk$set(fig.path = fp) }