Skip to content

Commit

Permalink
Try the dev version of pkgsearch
Browse files Browse the repository at this point in the history
Relates to r-hub/pkgsearch#117 and intermittent "build and deploy" failures we're seeing due to an attempt to get a package's CRAN history.

Example log: https://github.com/hadley/r-pkgs/actions/runs/5711724736/job/15473842892

The failure I'm talking about:

```
Quitting from lines 59-67 [tbl-usethis-versions] (lifecycle.Rmd)
Error:
! parse error: premature EOF

                     (right here) ------^
Backtrace:
    ▆
 1. ├─knitr::kable(...)
 2. ├─dplyr::select(cran_package_history("usethis"), Version, Date = `Date/Publication`)
 3. └─pkgsearch::cran_package_history("usethis")
 4.   └─pkgsearch:::do_crandb_query(...)
 5.     └─pkgsearch:::crandb_query(ept)
 6.       └─jsonlite::fromJSON(cnt, ...)
 7.         └─jsonlite:::parse_and_simplify(...)
 8.           └─jsonlite:::parseJSON(txt, bigint_as_char)
 9.             └─jsonlite:::parse_string(txt, bigint_as_char)
```
  • Loading branch information
jennybc committed Aug 1, 2023
1 parent a2ddb8f commit 4f8788c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Imports:
lubridate,
nycflights13,
pak,
pkgsearch,
pkgsearch (>= 3.1.2.9000),
rlang,
roxygen2,
stringi,
Expand All @@ -33,3 +33,5 @@ Suggests:
pkgload,
xml2
Encoding: UTF-8
Remotes:
r-hub/pkgsearch

0 comments on commit 4f8788c

Please sign in to comment.