-
Notifications
You must be signed in to change notification settings - Fork 25
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
Adjust for latest roxygen2 update #32
Conversation
@pat-s any idea what is going on here: https://travis-ci.org/r-spatial/lwgeom/jobs/516967717 ? |
Looks like a {pkgdown} error to me. Can you build the pkgdown site locally? |
Indeed! It stops at > pkgdown::build_home(quiet = FALSE)
── Building home ───────────────────────────────────────────────────────────────
Error in xml2::xml_contents(heading)[[1]] : subscript out of bounds
> traceback()
5: xml2::xml_add_sibling(xml2::xml_contents(heading)[[1]], "a",
href = paste0("#", anchor[[i]]), class = "anchor", .where = "before")
4: tweak_anchors(xml, only_contents = FALSE)
3: markdown(src_path)
2: build_home_index(pkg, quiet = quiet)
1: pkgdown::build_home(quiet = FALSE) but there I get lost. Any suggestion? |
The error appeared after f016739 which introduced the roxygen2 v6.1.1 Note.
The log complains about the authors field. Maybe caused by I'll try some changes, maybe we need again to chain |
Ok, found the issue. After a fresh clone of the repo, README.md looks like this: Note the missing title in the last Header2. This causes the error shown above. So it is unrelated to tic and looks a bit mysterious right now. |
Thank you so much! |
You're welcome. |
I guess GH is more foregiving about mistakes like this. |
r-lib/roxygen2#822