[Rd] Error in texi2dvi
Hello: Changes in R seem to have broken the sos vignette, and I don't know how to fix it. The build on R-forge, "https://r-forge.r-project.org/R/?group_id=235&log=build_src&pkg=sos&flavor=patched";, ends as follows: Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, : Running 'texi2dvi' on 'sos.tex' failed. LaTeX errors: ! Undefined control sequence. l.1 \Sconcordance {concordance:sos.tex:sos.Rnw:% The control sequence at the end of the top line of your error message was never \def'ed. If you have Calls: -> texi2pdf -> texi2dvi Execution halted I stepped through the vignette line by line without seeing an error message. However, when I do "R CMD build sos" on my own computer, it stops with a similar error message: Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, : Running 'texi2dvi' on 'sos.tex' failed. BibTeX errors: The top-level auxiliary file: sos.aux The style file: abbrvnat.bst I found no \bibdata command---while reading file sos.aux Calls: -> texi2pdf -> texi2dvi When I clicked, "Compile PDF" in RStudio, I first got a pop-up saying, 'Sweave Noweb syntax? It seems you are using the Sweave-specific syntax in line(s) 9, 15, 145, 172, 186, 189, 208, 211, 218, 225, 231, 243, 246, 283, 365, 390; you may need Sweave2knitr("sos.Rnw") to convert it to knitr'. When I click, "OK", it stops on LIne 146, "Error in eval(expr, envir, enclos) : object 'hide' not found". Line 145 reads, "<>=". What can I do to get this vignette to working again with the least amount of work? Thanks, Spencer Graves __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
[Rd] vignette output: word_document problems
Hello: Clicking "Knit Word" in RStudio 0.99.893 with R 3.3.0, works fine with a vignette with "output: word_document". However, "R CMD build" throws the following error: $ R CMD build pkgW2vignettes * checking for file ‘pkgW2vignettes/DESCRIPTION’ ... OK * preparing ‘pkgW2vignettes’: * checking DESCRIPTION meta-information ... OK * installing the package to build vignettes * creating vignettes ... ERROR Error: processing vignette 'vignette2word_document.Rmd' failed with diagnostics: Failed to locate the ‘weave’ output file (by engine ‘knitr::rmarkdown’) for vignette with name ‘vignette2word_document’. The following files exist in directory ‘.’: ‘vignette1createsObject1.R’, ‘vignette1createsObject1.Rmd’, ‘vignette1createsObject1.html’, ‘vignette2confusedByObject1.R’, ‘vignette2confusedByObject1.Rmd’, ‘vignette2confusedByObject1.html’, ‘vignette2word_document.Rmd’, ‘vignette2word_document.docx’ Execution halted A toy example showing this problem is in rev. 239 of "vignette2word_document.Rmd" in "pkgW2vignettes" on R-Forge (https://r-forge.r-project.org/R/?group_id=235). Is there a way to get "R CMD build" to work with a vignette with output: word_document? Thanks, Spencer Graves pkgW2vignettes I can knit with a vignette using RStudio 0.99.893 with R 3.3.0, I can knit > sessionInfo() R version 3.3.0 (2016-05-03) Platform: x86_64-apple-darwin13.4.0 (64-bit) Running under: OS X 10.11.5 (El Capitan) locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets [6] methods base other attached packages: [1] WriteXLS_4.0.0 sos_1.3-8 brew_1.0-6 loaded via a namespace (and not attached): [1] htmltools_0.3.5 tools_3.3.0 yaml_2.1.13 [4] Rcpp_0.12.5 rmarkdown_0.9.6 knitr_1.13 [7] digest_0.6.9 > __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel