I am trying to build a package for RNA-seq analysis combining different existing packages in bioconductor and am facing problem while Writing Vignettes for the package. On including R code for function that contains file.choose() option in the Vignettes following error is obtained while trying to build and reload the package
==> devtools::document(roclets=c('rd', 'collate', 'namespace', 'vignette')) Updating RNAseq documentation Loading RNAseq Updating vignettes Rebuilding Introduction_to_RNASeq.Rmd Quitting from lines 36-39 (Introduction_to_RNASeq.Rmd) Error in file.choose() : file choice cancelled Calls: suppressPackageStartupMessages ... withCallingHandlers -> withVisible -> eval -> eval -> frqc -> file.choose Execution halted Exited with status 1.
It would be very helpful if anyone could suggest how to include functions that contain file.choose() while writing vignettes.
Thanks in advance.