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 returns Error in if (new_url$query$submit == "1") { : argument is of length zero #2527

Closed
DavZim opened this issue Jul 12, 2023 · 7 comments

Comments

@DavZim
Copy link

DavZim commented Jul 12, 2023

I am trying to submit my RITCH package to CRAN using devtools v 2.4.5 but I run into the following error.
Note that the RITCH package had been archived and this is submit to cran supposed to fix the issues.

> packageVersion("devtools")
[1] ‘2.4.5’


> devtools::submit_cran()
Is your email address [email protected]?

1: No
2: No way
3: Of course

Auswahl: 3
✔  checking for file 'C:\Users\david\Nextcloud\Github\RITCH/DESCRIPTION'
─  preparing 'RITCH': (2.2s)
✔  checking DESCRIPTION meta-information ...
─  cleaning src
─  checking for LF line-endings in source and make files and shell scripts (834ms)
─  checking for empty or unneeded directories
─  building 'RITCH_0.1.20.tar.gz'
   
── Submitting ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────
ℹ Path C:\Users\david\AppData\Local\Temp\RtmpmyC4m5/RITCH_0.1.20.tar.gz
ℹ File size: 424.6 Kb

Ready to submit RITCH (0.1.20) to CRAN?

1: Uhhhh... Maybe?
2: Not yet
3: Yes

Auswahl: 3
ℹ Uploading package & comments
ℹ Confirming submission
Error in if (new_url$query$submit == "1") { : argument is of length zero
@jennybc
Copy link
Member

jennybc commented Jul 12, 2023

CRAN is down right now (as in experiencing a breakage of some sort), so I assume this results from this very weird situation.

@aronatkins
Copy link

Manual upload sends the uploader back to the web form, which gains an additional message in the page body:

Unpacking failed. Please make sure the tar.gz was created with R CMD build. If so, then contact [email protected].

There is no error HTTP response or other feedback.

Per https://cran.r-project.org:

CRAN submissions are currently partly not possible due to some infrastructure issues. Please so NOT conact us if you see "Unpacking failed. Please make sure the tar.gz was created with R CMD build....". CRAN sysadmins will work on it once they are available.
In addition, processing the CRAN incoming queue of packages (CRAN pretest) is currently delayed by 2 days.

@fritzbayer
Copy link

Same issue here

1 similar comment
@ginberg
Copy link

ginberg commented Jul 14, 2023

Same issue here

@ahjota
Copy link

ahjota commented Jul 17, 2023

I was able to submit a new version of the datarobot package using devtools 2.4.5 on Sat Jul 15. Got the submission email, and the confirmation workflow on the CRAN page appeared to work as well.

Here's hoping the "incoming queue of packages" has been cleared...

@jennybc
Copy link
Member

jennybc commented Jul 17, 2023

I am cautiously optimistic that incident is over.

@jennybc jennybc closed this as completed Jul 17, 2023
@adriancorrendo
Copy link

I'm facing the same issue when trying to submit my package update:

sessionInfo()
R version 4.3.1 (2023-06-16)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Sonoma 14.3.1

Matrix products: default
BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRlapack.dylib; LAPACK version 3.11.0

devtools_2.4.5

devtools::submit_cran()
Is your email address [email protected]?

1: Not yet
2: No
3: Definitely

Selection: 3
── R CMD build ───────────────────────────────────────
✔ checking for file ‘/Users/acorrend/Documents/GitHub/metrica/DESCRIPTION’ ...
─ preparing ‘metrica’:
✔ checking DESCRIPTION meta-information ...
─ installing the package to build vignettes
✔ creating vignettes (6.3s)
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ building ‘metrica_2.1.0.tar.gz’

── Submitting ────────────────────────────────────────
ℹ Path
/var/folders/rp/cvjg6h156k93q027hhv33ydw0000gn/T//RtmpHgX95l/metrica_2.1.0.tar.gz
ℹ File size: 2 Mb

Ready to submit metrica (2.1.0) to CRAN?

1: Yup
2: Nope
3: I forget

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

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

7 participants