Skip to content
Prev 9550 / 12125 Next

[R-pkg-devel] How to fix Archived Package Rpdb?

On Fri, Sep 8, 2023 at 6:02?AM Leonard Mada via R-package-devel
<r-package-devel at r-project.org> wrote:
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.
There are at least three 3 R CMD check failures you need to address:

* The Authors at R field in DESCRIPTION is incorrectly formed, you need
something like this:
    c(
      person("Leonard", "Mada", email = "leo.mada at syonic.eu", role = c("cre")),
      person("Julien", "Id?", role = c("aut"))
    )

* 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

* Many examples use `\%in\%` instead of `%in%.

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