-
Notifications
You must be signed in to change notification settings - Fork 344
Closed
globalgov/messydates
#89Description
I am encountering the same issue when trying to build a pkgdown site for several packages. Essentially the site building process aborts when trying to build the news (it also occurs when I use pkgdown::build_news()).
pkgdown:::build_site()
...
── Building news ───────────────────────────────────────────────────────────────
Error:
! in callr subprocess.
Caused by error in `while (tries < max_tries && Sys.time() < deadline) { …`:
! missing value where TRUE/FALSE needed
ℹ See `$stdout` and `$stderr` for standard output and error.
From the backtrace(below), it seems to be an issue what what pkgdown:::pkg_timeline() is passing to httr2::req_perform(), as that is where the error is thrown.
1. pkgdown:::build_site()
2. pkgdown:::build_site_external(pkg = pkg, examples = examples, run_dont_run = run_dont_run, …
3. callr::r(function(..., cli_colors, hyperlinks, pkgdown_internet) { …
4. callr:::get_result(output = out, options)
5. callr:::throw(callr_remote_error(remerr, output), parent = fix_msg(remerr[[3]]))
---
Subprocess backtrace:
1. pkgdown::build_site(...)
2. pkgdown:::build_site_local(pkg = pkg, examples = examples, run_dont_run = run_dont_run, …
3. pkgdown::build_news(pkg, override = override, preview = FALSE)
4. pkgdown:::build_news_single(pkg)
5. pkgdown:::data_news(pkg)
6. pkgdown:::pkg_timeline(pkg$package)
7. httr2::req_perform(req)
8. base::.handleSimpleError(function (e) …
9. global h(simpleError(msg, call))
I should add that this occurs for packages that are on CRAN and that have (had) pkgdown sites built in the past without issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels