Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building Markdown Documentation is Broken due to Rd2md package change #205

Open
jrawbits opened this issue Mar 29, 2024 · 0 comments
Open

Comments

@jrawbits
Copy link
Collaborator

The build process includes a "docs" target to build framework documentation as markdown using the .Rd files generated by Roxygen for the various modules and framework.

However, in grand Rstudio style, the maintainer of the Rd2md package recently gutted the interface, reduced the functionality to creating a single markdown file for all the functions in a package, and left the R world without a simple converter to take the Rd output (closer in format to Latex) and push it out to individual .Rd files.

It will be possible to use the new Rd2md package to dump each VE package into a single .md document which will serve the most basic purpose of getting the function documents into the website /docs area, but that will require some work.

More annoyingly, the new package also breaks the function-by-function parsing that was done previously and that allowed the functions to be grouped by their target audience (model users, model developers, internal functions, etc). It also breaks the very cute visual documentation output (showing the function utilization graphically).

I think there is a solution here, but it's not a CRAN package (has to be built from Github) and I don't want to make it a specific dependency for VE since its future is uncertain: https://github.com/Genentech/rd2markdown/

Ironically, there is (of all things) a Python package that can do .Rd to markdown conversion https://github.com/comet-ml/rd2md, but that doesn't solve the grouping problem (without more Python development).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant