Running examples in ‘pkgsearch-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: advanced_search
> ### Title: Advanced CRAN package search
> ### Aliases: advanced_search
> 
> ### ** Examples
> 
> ## Don't show: 
> if (pingr::is_online()) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf
+ ## End(Don't show)
+ # All orphaned packages
+ advanced_search(Maintainer = "ORPHANED")
+ 
+ # Packages with both Hester and Wickham as authors
+ advanced_search(Author = "Hester", Author = "Wickham")
+ advanced_search("Author: Hester AND Author: Wickham")
+ 
+ # Packages with Hester but not Wickham as author
+ advanced_search(Author = "Hester AND NOT Wickham")
+ 
+ # Packages with Hester as an Author, and Wickham in any field
+ advanced_search(Author = "Hester", "Wickham")
+ 
+ # Packages with Hester as an Author and Wickham nowhere in the metadata
+ advanced_search(Author = "Hester", "NOT Wickham")
+ 
+ # Packages for permutation tests and permissive licenses
+ advanced_search("permutation test AND NOT License: GPL OR GNU")
+ 
+ # Packages that have a certain field
+ advanced_search("_exists_" = "URL")
+ 
+ # Packages that do not have a certain field:
+ advanced_search("NOT _exists_: URL")
+ 
+ # The same but as JSON query
+ query <- '{
+ "query": {
+   "bool": {
+     "must_not": {
+       "exists": {
+         "field": "URL"
+       }
+     }
+   }
+ }
+ }'
+ advanced_search(json = query)
+ 
+ # Regular expressions
+ advanced_search(Author = "/Joh?nathan/")
+ 
+ # Fuzzy search
+ advanced_search(Author = "Johnathan~1")
+ ## Don't show: 
+ }) # examplesIf
> advanced_search(Maintainer = "ORPHANED")

Error: <pkgsearch_query_error in do_query(qstr, server, port, from, size):
 search server failure>

Failed to parse int parameter [size] with value [10?]

-->
<async_http_400: Bad Request (HTTP 400).>

 Stack trace:

 1. (if (getRversion() >= "3.4") withAutoprint else force)({ ...
 2. base:::source(exprs = exprs, local = local, print.eval = print.,  ...
 3. base:::withVisible(eval(ei, envir))
 4. base:::eval(ei, envir)
 5. base:::eval(ei, envir)
 6. pkgsearch:::advanced_search(Maintainer = "ORPHANED")
 7. pkgsearch:::do_query(qstr, server, port, from, size)
 8. rethrow(http_stop_for_status(result), new_query_error(result,  ...

 x search server failure 

 10. pkgsearch:::http_stop_for_status(result)
 11. base:::stop(http_error(resp))
 12. (function (e)  ...

 x Bad Request (HTTP 400). 

Execution halted