Beginning 30 May 2025 (at least), when you pass (at least) the following packages, c("cholera", "HistData", "terra", "threejs"), to pkgsearch::cran_package_history(), you get this error:
Error: lexical error: invalid char in json text.
<!DOCTYPE html> <!--[if lt IE 7
(right here) ------^
With this traceback:
6. parse_string(txt, bigint_as_char)
5. parseJSON(txt, bigint_as_char)
4. parse_and_simplify(txt = txt, simplifyVector = simplifyVector,
simplifyDataFrame = simplifyDataFrame, simplifyMatrix = simplifyMatrix,
flatten = flatten, ...)
3. jsonlite::fromJSON(cnt, ...)
2. crandb_query(ept)
1. pkgsearch::cran_package_history("cholera") (with the "correct" package name)
Code:
pkgsearch::cran_package_history("cholera")
pkgsearch::cran_package_history("HistData")
pkgsearch::cran_package_history("terra")
pkgsearch::cran_package_history("threejs")
All four packages appear be in good standing on CRAN and pass the CRAN Package Check Results at r-project.org
Most (probably an overwhelming number) other packages seem to work fine with this function.
I'm using pkgsearch v3.1.5 and R version 4.6.0 (in the R application, and current versions of Positron and RStudio)
Beginning 30 May 2025 (at least), when you pass (at least) the following packages,
c("cholera", "HistData", "terra", "threejs"), to pkgsearch::cran_package_history(), you get this error:Error: lexical error: invalid char in json text.<!DOCTYPE html> <!--[if lt IE 7(right here) ------^With this traceback:
6. parse_string(txt, bigint_as_char)5. parseJSON(txt, bigint_as_char)4. parse_and_simplify(txt = txt, simplifyVector = simplifyVector,simplifyDataFrame = simplifyDataFrame, simplifyMatrix = simplifyMatrix,flatten = flatten, ...)3. jsonlite::fromJSON(cnt, ...)2. crandb_query(ept)1. pkgsearch::cran_package_history("cholera")(with the "correct" package name)Code:
pkgsearch::cran_package_history("cholera")pkgsearch::cran_package_history("HistData")pkgsearch::cran_package_history("terra")pkgsearch::cran_package_history("threejs")All four packages appear be in good standing on CRAN and pass the CRAN Package Check Results at r-project.org
Most (probably an overwhelming number) other packages seem to work fine with this function.
I'm using pkgsearch v3.1.5 and R version 4.6.0 (in the R application, and current versions of Positron and RStudio)