[R-pkg-devel] Vignette build problem on winbuilder devel only
Hi, I can't find anything in the R devel NEWS that would explain this warning that occurs when building with the devel version on winbuilder: " Warning: running command '"D:\compiler\texmf\miktex\bin\texify.exe" --quiet --pdf "hierarchical.tex" --max-iterations=20 -I "D:/RCompile/recent/R/share/texmf/tex/latex" -I "D:/RCompile/recent/R/share/texmf/bibtex/bst"' had status 1 Error: running 'texi2dvi' on 'hierarchical.tex' failed LaTeX errors: hical.tex:10481: ==> Fatal error occurred, no output PDF file produced! Execution halted " and the only information I find online suggests it may be a problem with the build system. Other packages also seem to be failing with this error on R devel. Building on my own windows r devel build I have no problems like this, and neither does a travis CI R devel build. I'm trying to build / submit to CRAN the ctsem package, from https://github.com/cdriveraus/ctsem , any help would be welcome! Cheers, Charles __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
Re: [R-pkg-devel] Testthat environment using sourceCpp
Charles, I cannot help you with testthat or devtools, but the very issue of how to get C++ test files compiled (with the help of Rcpp) and used is deployed in a number of packages, both ours and other. To take but one example, RcppArmadillo does it with about half a dozen C++ files it keeps in a subdirectory inst/unitTests/cpp/ --- and those files are then sourced and compiled from the test setup function of each unit test file requiring C++. This generally calls a short helper function passing the filename; that helper figures our whether to find the file in the installed or tested package. You can see that helper function here: https://github.com/RcppCore/RcppArmadillo/blob/master/R/unit.test.R I would assume that someone may have cooked up something similar for use with testthat, and presumably also with devtools. Otherwise maybe you can, and then blog about it. We had this setup working pretty much before those tools existed so I never had a reason to switch. Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel