knitr error "Error in basename(knitr:::knit_concord$get("infile")) : a character vector argument expected"

opts_chunk$set(fig.path=paste0("figure/", sub("(.*).Rmd","\1",basename(knitr:::knit_concord$get('infile'))), "-"))

Error in basename(knitr:::knit_concord$get("infile")) :
a character vector argument expected

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.