Closed strepon closed 9 years ago
Ubuntu 14.10; both WikidataR and WikipediR installed today from GitHub.
R version 3.1.1 (2014-07-10)
Platform: x86_64-pc-linux-gnu (64-bit)
locale:
[1] LC_CTYPE=cs_CZ.UTF-8 LC_NUMERIC=C
[3] LC_TIME=cs_CZ.UTF-8 LC_COLLATE=cs_CZ.UTF-8
[5] LC_MONETARY=cs_CZ.UTF-8 LC_MESSAGES=cs_CZ.UTF-8
[7] LC_PAPER=cs_CZ.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=cs_CZ.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] WikidataR_1.0.0
loaded via a namespace (and not attached):
[1] digest_0.6.4 httr_0.2 jsonlite_0.9.16 RCurl_1.95-4.1
[5] stringr_0.6.2 tools_3.1.1 WikipediR_1.2.0
Your version of httr is ~4 releases out of date (the latest is 0.6.1); could it be something that's changed in that?
Yes, that's it! Thanks a lot and sorry for the noise.
No problem! I once submitted a bug answered with "you're missing a closing parentheses" :D
According to documentation,
get_item
should accept arguments for httr's GET function. However, e.g. setting of verbose output:results in the error:
whilst the following works correctly: