Running examples in 'crul-Ex.R' failed
The error most likely occurred in:

> ### Name: delete-requests
> ### Title: HTTP DELETE requests
> ### Aliases: delete-requests
> 
> ### ** Examples
> 
> (x <- HttpClient$new(url = "https://httpbin.org"))
<crul connection> 
  url: https://httpbin.org
  curl options: 
  proxies: 
  auth: 
  headers: 
> 
> ## a list
> (res1 <- x$delete('delete', body = list(hello = "world"), verbose = TRUE))
<crul response> 
  url: https://httpbin.org/delete
  request_headers: 
    User-Agent: libcurl/7.59.0 r-curl/3.2 crul/0.5.2
    Accept-Encoding: gzip, deflate
    Accept: application/json, text/xml, application/xml, */*
  response_headers: 
    status: HTTP/1.1 200 OK
    connection: keep-alive
    server: gunicorn/19.7.1
    date: Tue, 08 May 2018 11:47:54 GMT
    content-type: application/json
    access-control-allow-origin: *
    access-control-allow-credentials: true
    x-powered-by: Flask
    x-processed-time: 0
    content-length: 543
    via: 1.1 vegur
  status: 200
> jsonlite::fromJSON(res1$parse("UTF-8"))
$args
named list()

$data
[1] ""

$files
named list()

$form
$form$hello
[1] "world"


$headers
$headers$Accept
[1] "application/json, text/xml, application/xml, */*"

$headers$`Accept-Encoding`
[1] "gzip, deflate"

$headers$Connection
[1] "close"

$headers$`Content-Length`
[1] "145"

$headers$`Content-Type`
[1] "multipart/form-data; boundary=------------------------ed93c309645dc571"

$headers$Host
[1] "httpbin.org"

$headers$`User-Agent`
[1] "libcurl/7.59.0 r-curl/3.2 crul/0.5.2"


$json
NULL

$origin
[1] "129.217.207.166"

$url
[1] "https://httpbin.org/delete"

> 
> ## a string
> (res2 <- x$delete('delete', body = "hello world", verbose = TRUE))
<crul response> 
  url: https://httpbin.org/delete
  request_headers: 
    User-Agent: libcurl/7.59.0 r-curl/3.2 crul/0.5.2
    Accept-Encoding: gzip, deflate
    Accept: application/json, text/xml, application/xml, */*
  response_headers: 
    status: HTTP/1.1 503 Service Unavailable
    connection: keep-alive
    server: Cowboy
    date: Tue, 08 May 2018 11:48:44 GMT
    content-length: 506
    content-type: text/html; charset=utf-8
    cache-control: no-cache, no-store
  status: 503
> jsonlite::fromJSON(res2$parse("UTF-8"))
* Found bundle for host httpbin.org: 0xa2ef3f0 [can pipeline]
* Re-using existing connection! (#4) with host httpbin.org
* Connected to httpbin.org (52.5.182.176) port 443 (#4)
> DELETE /delete HTTP/1.1
Host: httpbin.org
User-Agent: libcurl/7.59.0 r-curl/3.2 crul/0.5.2
Accept-Encoding: gzip, deflate
Accept: application/json, text/xml, application/xml, */*
Content-Length: 145
Content-Type: multipart/form-data; boundary=------------------------ed93c309645dc571

< HTTP/1.1 200 OK
< Connection: keep-alive
< Server: gunicorn/19.7.1
< Date: Tue, 08 May 2018 11:47:54 GMT
< Content-Type: application/json
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Credentials: true
< X-Powered-By: Flask
< X-Processed-Time: 0
< Content-Length: 543
< Via: 1.1 vegur
< 
* Connection #4 to host httpbin.org left intact
* Found bundle for host httpbin.org: 0xa2ef3f0 [can pipeline]
* Re-using existing connection! (#4) with host httpbin.org
* Connected to httpbin.org (52.5.182.176) port 443 (#4)
> DELETE /delete HTTP/1.1
Host: httpbin.org
User-Agent: libcurl/7.59.0 r-curl/3.2 crul/0.5.2
Accept-Encoding: gzip, deflate
Accept: application/json, text/xml, application/xml, */*
Content-Length: 11
Content-Type: application/x-www-form-urlencoded

* upload completely sent off: 11 out of 11 bytes
< HTTP/1.1 503 Service Unavailable
< Connection: keep-alive
< Server: Cowboy
< Date: Tue, 08 May 2018 11:48:44 GMT
< Content-Length: 506
< Content-Type: text/html; charset=utf-8
< Cache-Control: no-cache, no-store
< 
* Connection #4 to host httpbin.org left intact
Error: lexical error: invalid char in json text.
                                       <!DOCTYPE html> 	<html> 	  <hea
                     (right here) ------^
Execution halted