Currently, I am utilizing roxygen for documenting an R package. Within the "man/macros" subdirectory of the package, there is a macro file named myMacro.Rd that specifies the \myMacro
macro. This macro is designed to insert a <style>
tag into HTML help files in order to modify the standard CSS in R help files.
I am interested in finding a way to automatically include \myMacro
in every .Rd file within the package without having to manually add it to all of my roxygen code. Is there a method to do this automatically?
Alternatively, I could achieve a similar outcome by automatically embedding a Roxygen template into each .Rd file. Is there a way to accomplish this instead?