Skip to content

[R-pkg-devel] Win-builder: Author field differs from that derived from Authors@R

5 messages · Dirk Eddelbuettel, Peter Dalgaard, Sebastian Meyer +1 more

#
Hi!

I'm relying on Authors at R to generate the Author: and Maintainer:
headers. When checking my package at win-builder using R-unstable, I
got a NOTE that Author field differs from that derived from Authors at R:
Link to full check output:
https://win-builder.r-project.org/EWz9zWS0niO3/

The actual field from DESCRIPTION now looks like this:
The version of R I'm currently using is 3.3.3 (2017-03-06) from Debian
stable, which might explain the differences in utils:::format.person.

What should I do to avoid the NOTE?
#
On 6 February 2019 at 15:26, Ivan Krylov wrote:
| The version of R I'm currently using is 3.3.3 (2017-03-06) from Debian
| stable, which might explain the differences in utils:::format.person.

In case you were unaware you _can_ get current R versions, now R 3.5.2, for
Debian stable thanks to the backports administered by Johannes Ranke -- see
http://cloud.r-project.org/bin/linux/debian/

I see no real reason for a package developer aiming for CRAN to use a
twice-outdated R version.

| What should I do to avoid the NOTE?

I suspect locale and sorting settings but I don't know for sure. In any case,
I would not start by debugging on an outdated R version.

Dirk
#
The difference is obviously in the "con" men. The definition of role="con" in the MARC code list is

Conservator [con]
A person or organization responsible for documenting, preserving, or treating printed or manuscript material, works of art, artifacts, or other media
UF Preservationist

Is this as intended?

-pd

  
    
#
The DESCRIPTION's Author field is auto-generated from Authors at R during R
CMD build. You are right, the format has slightly changed since R 3.3.3
(e.g., support for ORCID ID).

The CRAN repository policy says:
-> https://cran.r-project.org/web/packages/policies.html

Further to that, note that you are using a non-standard role ("con").
See the details in help("person") for the roles used in the context of R
packages: aut, com, ctr, ctb, cph, cre, dtc, fnd, ths, trl.

Cheers,

	Sebastian


Am 06.02.19 um 13:26 schrieb Ivan Krylov:
#
On Wed, 6 Feb 2019 15:23:00 +0100
Sebastian Meyer <seb.meyer at fau.de> wrote:

            
Right. Time for me to update to R-3.5.2 to comply with the policy and
prevent other silly mistakes.
Ouch! My reading comprehension could have been better when I read that
part of help("person"). Indeed, I should have used "ctb" instead of
"con".

Additional thanks to Peter Dalgaard for spotting the same mistake and
to Dirk Eddelbuettel for the link to Debian packages of current release
of R.