Bioconductor / Rnw2Rmd

0 stars 1 forks source link

unnecessary error? #3

Open lwaldron opened 1 year ago

lwaldron commented 1 year ago

On the curatedOvarianData vignette, this script produces an error, but it produces an Rmd file that looks OK. Maybe this isn't an issue then, I just wasn't sure to make of the error and put a try() around the Rnw2Rmd call for programs.

download.file("https://raw.githubusercontent.com/waldronlab/curatedOvarianData/devel/vignettes/curatedOvarianData_vignette.rnw", destfile = "curatedOvarianData_vignette.rnw")
Rnw2Rmd::Rnw2Rmd(from="curatedOvarianData_vignette.rnw", to="curatedOvarianData_vignette.Rmd")
#> Error in paste(x, collapse = ","): cannot coerce type 'closure' to vector of type 'character'

Created on 2023-06-22 with reprex v2.0.2

lwaldron commented 1 year ago

Just FYI, I'm using your package here to simplify the process for interns by using GHA: https://github.com/lwaldron/sweave2rmd_conversiontemplate