HI @nevrome, it's been a while but I am reasonably satisfied with the proposed implementation of doxy_vignette(). It's basically what I suggested elsewhere (can't seem to find the GitHub thread...):
doxydoc lives in inst/doxygen
vignettes/Makefile copies from inst/doxygen to inst/doc/doxygen during build (R CMD or devtools::) or devtools::build_vignette.
.Rbuildignore contains inst/doxygen and vignettes/Makefile, to avoid duplication and errors in the tarball respectively.
The advantage of using vignettes/Makefile instead of a configure[.win] script is that the former far less frequently used than the latter, thus leaving a minimum of rdoxygen users to have to modify their package by hand.
I've also included a package vignette which doubles as my edits of the Rcpp Gallery article.
HI @nevrome, it's been a while but I am reasonably satisfied with the proposed implementation of
doxy_vignette()
. It's basically what I suggested elsewhere (can't seem to find the GitHub thread...):inst/doxygen
vignettes/Makefile
copies frominst/doxygen
toinst/doc/doxygen
during build (R CMD
ordevtools::
) ordevtools::build_vignette
..Rbuildignore
containsinst/doxygen
andvignettes/Makefile
, to avoid duplication and errors in the tarball respectively.The advantage of using
vignettes/Makefile
instead of aconfigure[.win]
script is that the former far less frequently used than the latter, thus leaving a minimum of rdoxygen users to have to modify their package by hand.I've also included a package vignette which doubles as my edits of the Rcpp Gallery article.
Please let me know what you think.