Skip to content
Prev 3961 / 12125 Next

[R-pkg-devel] CRAN student assistants

I don?t think they check _every_ help page for examples. My assumption would be that if the main functionality of the package is covered, then functions that are clearly ancillary, or whose usage is obvious, get a pass.

Another reason for cloud-related packages to mark things as \dontrun (as opposed to \donttest) would be if they deploy resources that have an associated cost. You probably don?t want to be charged 50 bucks, or whatever, for deploying a compute cluster just by running example().

From: Jennifer Bryan <jenny.f.bryan at gmail.com>
Sent: Friday, 17 May 2019 3:10 AM
To: Hong Ooi <hongooi at microsoft.com>
Cc: R Package Development <r-package-devel at r-project.org>
Subject: Re: [R-pkg-devel] CRAN student assistants

Thanks for the excellent comparable package, Hong.

Today's rejection of gargle instructs me to use \donttest{} instead of \dontrun{}. Most of the affected functions create, load, and/or refresh service account tokens and OAuth2 credentials. I see that \dontrun{} is used in AzureAuth, which does seem more appropriate and is what I did. My impression is that \donttest{} code is still run under some circumstances. Perhaps this is another good topic for discussion, now that we've worked through cat() vs message().

It seems like you've also got a few functions without examples at all (e.g., format_auth_header(), AzureR_dir()). How does this get through CRAN review? When is that OK and when is it not?

I would simply like to understand the standards, so that I can impose them on myself and go through fewer submissions. Maybe we could even automate some of those checks. That would reduce workload all around.

I've taken your advice to reply via email with full explanation and cc others at CRAN. Maybe this will also lead to speedy resolution with no fuss.

-- Jenny
On Wed, May 15, 2019 at 2:18 PM Hong Ooi <hongooi at microsoft.com<mailto:hongooi at microsoft.com>> wrote:
I had a similar experience with a couple of my package updates needing changes. The background is that I have a family of packages for talking to Microsoft's Azure cloud service from R, and my examples are all marked \dontrun because they need an Azure subscription to work. This had previously been cleared with Uwe Ligges, but I guess the other CRAN reviewers weren't aware of this.

In both cases, replying to the CRAN email and cc'ing Uwe resolved the issue quickly and without fuss.


-----Original Message-----
From: R-package-devel <r-package-devel-bounces at r-project.org<mailto:r-package-devel-bounces at r-project.org>> On Behalf Of Mark van der Loo
Sent: Thursday, 16 May 2019 1:50 AM
To: Jennifer Bryan <jenny.f.bryan at gmail.com<mailto:jenny.f.bryan at gmail.com>>
Cc: R Package Development <r-package-devel at r-project.org<mailto:r-package-devel at r-project.org>>
Subject: Re: [R-pkg-devel] CRAN student assistants

For what it's worth,

I recently submitted a new package that was initially refused (with
comments) by CRAN. I updated number of them accordingly, but there were a few that with good reasons I could not change. I explained this in the comments when uploading a new version and it got accepted. So I don't see the problem.

(The case here was a use of \dontrun{}. I had to switch an example off because a warning was thrown which would upset R CMD check. But demonstrating the warning was exactly the point of the example.)

All this aside. I think it is extremely unethical to publish privately sent CRAN emails on GH, including personal details such as name and e-mail address of the sender without their explicit consent.


Best,
Mark





On Wed, May 15, 2019 at 4:44 PM Jennifer Bryan <jenny.f.bryan at gmail.com<mailto:jenny.f.bryan at gmail.com>>
wrote:
______________________________________________
R-package-devel at r-project.org<mailto:R-package-devel at r-project.org> mailing list
https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fr-package-devel&amp;data=01%7C01%7Chongooi%40microsoft.com%7C6ab84a03dd6048a5160d08d6d94d0b70%7C72f988bf86f141af91ab2d7cd011db47%7C1&amp;sdata=eiVhKOo%2F1JcZuYXyZKLQq2o5Jv0So%2BOebJgbXT%2BLpOw%3D&amp;reserved=0<https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fr-package-devel&data=02%7C01%7Chongooi%40microsoft.com%7C991f01a501964ef9e6da08d6da21834c%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636936234812532893&sdata=u77oBbnued1bYd9a825nzbr4%2BTfF6hwDCaVkATv9tc8%3D&reserved=0>
Message-ID: <SG2P15301MB0077CCEE8DD3F37F79CFDEF2A60A0@SG2P15301MB0077.APCP153.PROD.OUTLOOK.COM>
In-Reply-To: <CANe9BHFReQrB6cQ=RaXC_iBPkh-kzAcJ=qD8POcjcn0kktvokw@mail.gmail.com>