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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: manip
> ### Title: Manipulation operations
> ### Aliases: contains contains_ endswith endswith_ fromjson group group_
> ###   index_loc index_loc_ indices indices_ join join_ ltrimstr ltrimstr_
> ###   manip rindex_loc rindex_loc_ rtrimstr rtrimstr_ splitj splitj_
> ###   startswith startswith_ tojson tonumber tostring uniquej uniquej_
> 
> ### ** Examples
> 
> # join
> str <- '["a","b,c,d","e"]'
> jq(str, 'join(", ")')
"a, b,c,d, e"
> str %>% join
"a, b,c,d, e"
> str %>% join(`;`)
"a`;` b,c,d`;` e"
> str %>% join(`yep`)
"ayep b,c,dyep e"
> 
> # split
> jq('"a, b,c,d, e"', 'split(", ")')
[
    "a",
    "b,c,d",
    "e"
]
> 
> # ltrimstr
> jq('["fo", "foo", "barfoo", "foobar", "afoo"]', '[.[]|ltrimstr("foo")]')
[
    "fo",
    "",
    "barfoo",
    "bar",
    "afoo"
]
> '["fo", "foo", "barfoo", "foobar", "afoo"]' %>% index() %>% ltrimstr(foo)
[
    "fo",
    "",
    "barfoo",
    "bar",
    "afoo"
]
> 
> # rtrimstr
> jq('["fo", "foo", "barfoo", "foobar", "foob"]', '[.[]|rtrimstr("foo")]')
[
    "fo",
    "",
    "bar",
    "foobar",
    "foob"
]
> '["fo", "foo", "barfoo", "foobar", "foob"]' %>% index() %>% rtrimstr(foo)
[
    "fo",
    "",
    "bar",
    "foobar",
    "foob"
]
> 
> # startswith
> str <- '["fo", "foo", "barfoo", "foobar", "barfoob"]'
> jq(str, '[.[]|startswith("foo")]')
[
    false,
    true,
    false,
    true,
    false
]
> str %>% index %>% startswith(foo)
[
    false,
    true,
    false,
    true,
    false
]
> 
> # endswith
> jq(str, '[.[]|endswith("foo")]')
[
    false,
    true,
    true,
    false,
    false
]
> str %>% index %>% endswith(foo)
[
    false,
    true,
    true,
    false,
    false
]
> str %>% index %>% endswith_("foo")
[
    false,
    true,
    true,
    false,
    false
]
> str %>% index %>% endswith(bar)
[
    false,
    false,
    false,
    true,
    false
]
> str %>% index %>% endswith_("bar")
[
    false,
    false,
    false,
    true,
    false
]
> 
> # get index (location) of a character
> ## input has to be quoted
> str <- '"a,b, cd, efg, hijk"'
> str %>% index_loc(", ")
3
> str %>% index_loc(",")
1
> str %>% index_loc("j")
16
> str %>% rindex_loc(", ")
12
> str %>% indices(", ")
[
    3,
    7,
    12
]
> 
> # tojson, fromjson, tostring, tonumber
> '[1, "foo", ["foo"]]' %>% index %>% tostring
[
    "1",
    "foo",
    "[\"foo\"]"
]
> '[1, "1"]' %>% index %>% tonumber
[
    1,
    1
]
> '[1, "foo", ["foo"]]' %>% index %>% tojson
[
    "1",
    "\"foo\"",
    "[\"foo\"]"
]
> '[1, "foo", ["foo"]]' %>% index %>% tojson %>% fromjson
[
    1,
    "foo",
    [
        "foo"
    ]
]
> 
> # contains
> '"foobar"' %>% contains("bar")
true
> '["foobar", "foobaz", "blarp"]' %>% contains(`["baz", "bar"]`)
Error in jqr(x$data, make_query(x), flags) : 
  error: syntax error, unexpected INVALID_CHARACTER
contains(`["baz", "bar"]`)         
Calls: %>% ... <Anonymous> -> jq -> jq.jqr -> structure -> jqr -> .Call
Execution halted