sysreqs::sysreq_commands("DESCRIPTION") fails
jchiquet opened this issue · 1 comments
jchiquet commented
Trying to catch system dependencies in my package to submit to R-hub builder which uses sysreqs
I get
> sysreqs::sysreq_commands("DESCRIPTION")
Error: JSON: EXPECTED value GOT U
The description file can be found here : PLNmodels/DESCRIPTION
Ubuntu 18.04 with R 3.5.2
Any idea? Hope that is not those French accent or something...
Thanks
jchiquet commented
Ok, adding the platform manually (looking in the closed Issues) solved my problem:
> sysreqs("DESCRIPTION", platform = "linux-x86_64-ubuntu-gcc")
[1] "libcurl4-openssl-dev" "libssl-dev" "libgmp-dev"
[4] "libxml2-dev" "git-core" "pandoc pandoc-citeproc"
[7] "pandoc pandoc-citeproc" "libssl-dev" "make"
[10] "pandoc pandoc-citeproc" "libxml2-dev" "make"
[13] "make" "git-core" "libssl-dev"
[16] "libapparmor-dev"