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

Error in build_reference when empty section #656

Closed
surh opened this Issue May 6, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@surh

surh commented May 6, 2018

If an .Rd file has a section tag without anything inside, for example if I have \details{},the function build_reference fails with the following error.

Error in rep(TRUE, length(x) - 1)

As far as I can tell, this is due to the flatten_para function, and can be solved by simply removing the empty section tag from the Rd file. However, It would be nice if one could keep the empty sections and build_reference worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment