r-hub / cransays

Creates an Overview of CRAN Incoming Submissions :mailbox_with_mail:
https://r-hub.github.io/cransays/articles/dashboard.html
Other
80 stars 10 forks source link

Only include tar.gz files #30

Closed Bisaloo closed 2 years ago

Bisaloo commented 4 years ago

It looks like someone inadvertently added a pdf in their folder:

image

To prevent this, it would be useful to ensure only tar.gz are listed. I can submit a PR for this in the next couple of days if necessary.

Bisaloo commented 4 years ago

Oh wait, this is supposed to already be the case:

https://github.com/lockedata/cransays/blob/f80133d3dbc8e2064c4c49ef66291b0ca721779a/R/take-snapshot.R#L41

:thinking:

maelle commented 4 years ago

weird, and good catch! I won't have time to dive into it myself during the next few days, so if you have time to explore that'd be great (no worries if not, of course).

maelle commented 4 years ago

Or maybe it's just a really weird case that we should ignore? See screenshot below, the file extension is dot pdf dot tar dot gz.

image

Bisaloo commented 4 years ago

Oh right... Really strange indeed. And quite impossible to detect in this case :thinking:

maelle commented 4 years ago

I am so curious now, why did this end up there?!

maelle commented 4 years ago

@Nowosad how did a PDF of your book (or at least a file named like your book) end up in CRAN incoming FTP? :slightly_smiling_face: ftp://cran.r-project.org/incoming/

Nowosad commented 4 years ago

Hi @maelle - good question. Long story short: I have tried to submit my textbook in Polish to the CRAN Contributed Documentation (https://cran.r-project.org/other-docs.html#nenglish).

However, the instruction on how to do that are vague. The Contributed Documentation page states "To submit, follow the submission instructions on the CRAN main page.", however, it is impossible to upload non-R package using the standard way (https://cran.r-project.org/submit.html). Therefore, I decided to follow another CRAN suggestion "If this fails, upload to ftp://CRAN.R-project.org/incoming/ and send an email to CRAN-submissions@R-project.org following the policy. Please do not attach submissions to emails, because this will clutter up the mailboxes of half a dozen people." and uploaded the PDF to CRAN incoming FTP and wrote an email. Yet, I still did not get any answers back...

Do you know any better way how to add a document to the CRAN Contributed Documentation?

maelle commented 4 years ago

:wave: @Nowosad, that's interesting and no, sorry, I don't know how to do that. Maybe you could email r-package-devel? To me your question sounds very legitimate!

Nowosad commented 4 years ago

Thanks @maelle for the suggestion. I just sent the email.

maelle commented 4 years ago

Good luck!