Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

submit_cran() errors confirming submission: "argument is of length zero" #2208

Closed
matthewcornell opened this issue Apr 8, 2020 · 4 comments

Comments

@matthewcornell
Copy link

Hi Folks,

Thanks very much for your work.

My issue: When running submit_cran() on a package that we have successfully submitted in the past, I now get this error:

...
Uploading package & comments
Confirming submission
Error in if (new_url$query$submit == "1") { : argument is of length zero

The line is here. My naive guess is that the POST is failing due to something on the CRAN side, but their site lists nothing about not accepting submissions.

Any help would be awesome!

devtools version: 2.0.2

version output:

platform x86_64-apple-darwin15.6.0
arch x86_64
os darwin15.6.0
system x86_64, darwin15.6.0
status
major 3
minor 6.0
year 2019
month 04
day 26
svn rev 76424
language R
version.string R version 3.6.0 (2019-04-26)
nickname Planting of a Tree

@jimhester
Copy link
Member

devtools 2.0.2 is quite a few releases ago, could you update to a more recent version of devtools, or preferably the devel version, which refactors some of this code to produce more actionable errors when CRAN is down?

@matthewcornell
Copy link
Author

My mistake: I am currently using 2.2.2 . Please: how do I install the dev version?

@jimhester
Copy link
Member

remotes::install_dev("devtools")

@matthewcornell
Copy link
Author

I believe it worked, though I did get an Error:

Screen Shot 2020-04-09 at 1 14 58 PM

devtools::submit_cran()
Is your email address cornell@umass.edu?
1: No
2: Nope
3: Yup

Selection: 3
Building
pdflatex not found! Not building PDF manual.
✓ checking for file ‘/Users/cornell/IdeaProjects/zoltr/DESCRIPTION’ ...
─ preparing ‘zoltr’: (472ms)
✓ checking DESCRIPTION meta-information ...
─ installing the package to build vignettes (349ms)
✓ creating vignettes (6.5s)
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ building ‘zoltr_0.5.0.tar.gz’
Warning: invalid uid value replaced by that for user 'nobody'
Warning: invalid gid value replaced by that for user 'nobody'

Submitting file: /var/folders/zk/3j9j9y1s00q6j0xn7_60v7s9y8f565/T//Rtmp1TiHtb/zoltr_0.5.0.tar.gz
File size: 50.9 Kb
Ready to submit zoltr (0.5.0) to CRAN?
1: I forget
2: No way
3: Yeah

Selection: 3
Uploading package & comments
Confirming submission
Package submission successful.
Check your email for confirmation link.
Error in get0(oNam, envir = ns) :
lazy-load database '/Users/cornell/Library/R/3.6/library/usethis/R/usethis.rdb' is corrupt
In addition: Warning message:
In get0(oNam, envir = ns) : internal error -3 in R_decompress1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants