[R-pkg-devel] devtools::submit_cran() failure

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Fri Jun 30 17:43:27 CEST 2023


В Fri, 30 Jun 2023 14:39:31 +0100
Alan Inglis <alan.n.inglis using gmail.com> пишет:

> Error in if (new_url$query$submit == "1") { : argument is of length
> zero

If this isn't a one-off network hiccup that cannot be subsequently
reproduced, this seems to be a problem in devtools. The code doesn't
check the value returned from httr::parse_url(...) for correctness
before trying to find out whether it was redirected to a URL containing
...&submit=1:

https://github.com/r-lib/devtools/blob/69d6104/R/release.R#L308-L311

You can report this problem at
<https://github.com/r-lib/devtools/issues>.

Meanwhile, submit the package using the web form at
<https://xmpalantir.wu.ac.at/cransubmit/>. Perhaps you'll get a
human-readable error message that will help devtools developers handle
cases like this in the future.

-- 
Best regards,
Ivan



More information about the R-package-devel mailing list