[R-pkg-devel] How to fix Archived Package Rpdb?
Leonard Mada
|eo@m@d@ @end|ng |rom @yon|c@eu
Wed Sep 13 20:01:56 CEST 2023
Thank you very much for your response.
I actually tried yesterday to publish the package to CRAN.
Unfortunately, my computer seems to behave funny; and I did not receive
a confirmatory e-mail either.
Messages & Errors:
✔ Package submission successful
ℹ Check your email for confirmation link.
! Don't forget to tag this release once accepted by CRAN
Error in (function (..., row.names = NULL, check.rows = FALSE,
check.names = TRUE, :
arguments imply differing number of rows: 1, 0
In addition: Warning messages:
1: In system2("git", c("rev-parse", "--abbrev-ref", "HEAD"), stdout =
TRUE) :
running command '"git" rev-parse --abbrev-ref HEAD' had status 127
2: In system2("git", c("status", "--porcelain=v1"), stdout = TRUE) :
running command '"git" status --porcelain=v1' had status 127
3: In system2("git", c("rev-parse", "HEAD"), stdout = TRUE) :
running command '"git" rev-parse HEAD' had status 127
✔ Setting active project to 'C:/.../Rpdb'
1.) I do not understand if this means, that the submission actually failed?
2.) Should I try to resubmit?
If yes: should I increase the version number to 2.3.2 (from 2.3.1)?
3.) Old questions
The remaining questions should be sorted out now:
- the issue was if to delete the e-mail from the original author;
- I left the e-mail for now; I will phase out the e-mail address, once I
start to work on my own on the package (maybe I'll have some time next
month);
Sincerely,
Leonard
On 9/12/2023 4:02 PM, Uwe Ligges wrote:
> On 09.09.2023 20:15, Leonard Mada via R-package-devel wrote:
>> Thank you very much for this help.
>>
>>
>> 1.) I am a little bit unsure about the LICENSE file - see below (in-text).
>>
>>
>> 2.) There is a new error in the meantime:
>>
>> - the check works on Windows, but fails everywhere else with:
>>
>> Warning: Found the following significant warnings:
>> Warning: 'rgl.init' failed, running with 'rgl.useNULL = TRUE'.
> On non Windows systems, You cannot use rgl if you do not have any X11
> available.
> Support for Unix alikes is optional, so in packages X11() should be used
> conditionally after checking capabilities("X11").
>
>
>> Googling the web was not very informative either: it mentions something
>> about quartz device - but I am uncertain what to do.
> >
>> On 9/8/2023 6:59 PM, Hadley Wickham wrote:
>>> On Fri, Sep 8, 2023 at 6:02 AM Leonard Mada via R-package-devel
>>> <r-package-devel using r-project.org> wrote:
>>>> Dear Members,
>>>>
>>>> I would like to reanimate the archived package Rpdb:
>>>> https://cran.r-project.org/web/packages/Rpdb/index.html
>>>>
>>>> [...]
>>>> 2.b.) Description file
>>>> - I left the original author as the author (with the provided e-mail
>>>> address): should I delete this email?
>>> It probably doesn't matter than much either way, but since the author
>>> doesn't appear to respond to emails to that address, I personally
>>> would lean towards deleting it.
>
> Do *not* delete any authours/copyright holders.
>
>
>>>> - I have added myself as maintainer; [...]
>>>> - updated the licence to GPL v3: the original does not specify any
>>>> version number;
>>>>
>>>>
>>>> Is there anything else that needs to be done?
>>> There are at least three 3 R CMD check failures you need to address:
>>>
>>> * [...]
>>>
>>> * You need to add LICENSE to .Rbuildignore, or and IMO better, delete
>>> that file and use usethis::use_gpl3_license() to the license in
>>> markdown form, and correctly ignored for CRAN submission
>>
>> If I understand correctly:
>>
>> - delete the "LICENSE" file and use usethis::use_gpl3_license(), which
>> adds the "LICENSE.md" file;
>>
>> - should I also add some code to the DESCRIPTION file?
> LICENSE: GPL-3
>
> in the DESCRIPTION should be fine, and no license file unless you want
> to add additional restrictions that are permitted by GPL-3 such as
> attribution requirements.
>
> No idea what usethis::use_gpl3_license() does.
>
> Best,
> Uwe Ligges
>
>
>>> * Many examples use `\%in\%` instead of `%in%.
>>
>> Hopefully, this is fixed now. But it was quit a hassle to find out which
>> files were affected. [I could have used gawk, but the error-reporting
>> could be improved as well!]
>>
>>
>> Sincerely,
>>
>>
>> Leonard
>>
>>> To make these sorts of problems easier to spot in the future I'd
>>> suggest setting up a GitHub action to automatically run R CMD check
>>> every time you push to GitHub. One easy way to do that is to run
>>> usethis::use_github_action("check-standard").
>>>
>>> Hadley
>>>
>> [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-package-devel using r-project.org mailing list
>> https://eu01.z.antigena.com/l/BqUPANOmull40IBpV5HU5aA8TKzcKz3OPssdZ5liqRHrrkHEpivWqaEIC1k24tCEj5gaLW4Hr7LBQP5Bmhh0Wz1PyNzgLiQLK26ivAhsMrr2kA6V_Faoc~qljey3AojzFEHcOJh6NK4Y7Tm1Mo2ouslWDO9u_IwgzbNPy92hE3LAs3hF8m
More information about the R-package-devel
mailing list