[R-pkg-devel] R CMD check yielding different results for me than CRAN reviewer

Dirk Eddelbuettel edd at debian.org
Wed Jan 27 14:20:24 CET 2016


On 27 January 2016 at 13:00, Carlos Cinelli wrote:
| I have been using win-builder and Gabor's R-Builder .
| You can use win-builder either from the webpage (http://win-builder.r-project.org/) or using the function build_win() from  Hadley's devtools package. Win-builder will test both r-devel and r-release in Windows.

You misses an obvious one which which devtools hides from you: ftp.

You can parameterize your ftp client -- in my case ncftp which keeps a
bookmark associating the shorthand 'win-builder' with a host as well as
default directory and more:

  edd at max:~$ grep win-builder .ncftp/bookmarks 
  win-builder,win-builder.r-project.org,,,,R-release,I,21,1252258158,1,1,1,1,129.217.207.166,,,,,,S,0,
  edd at max:~$ 

Then a trivial helper scripts facilitates this:

  edd at max:~$ cat bin/wbput.sh 
  #!/bin/bash
  
  function errorexit () {
      echo "Error: $1"
      exit 1
  }
  
  if [ "$#" -lt 1 ]; then
      errorexit "Need to specify argument file"
  fi
  
  if [ ! -f ${1} ]; then
      errorexit "File ${1} not found, aborting."
  fi
  
  ncftpput win-builder.r-project.org /R-release ${1}
  ncftpput win-builder.r-project.org /R-devel ${1}
  edd at max:~$

So I just say, eg, 'R CMD build foo; wbput.sh foo_1.2-3.tar.gz' and then
simply await the email replies.

No packages involving excessive amounts of underscores were used in
assembling this message.

Dirk


| As for r-builder, you will can use it with Travis or Semaphore (see https://github.com/metacran/r-builder). It will test with r-oldrel, r-release and r-devel in Linux. 
| 
| > From: r-package-devel-request at r-project.org
| > Subject: R-package-devel Digest, Vol 9, Issue 10
| > To: r-package-devel at r-project.org
| > Date: Wed, 27 Jan 2016 12:00:02 +0100
| > 
| > Send R-package-devel mailing list submissions to
| > 	r-package-devel at r-project.org
| > 
| > To subscribe or unsubscribe via the World Wide Web, visit
| > 	https://stat.ethz.ch/mailman/listinfo/r-package-devel
| > or, via email, send a message with subject or body 'help' to
| > 	r-package-devel-request at r-project.org
| > 
| > You can reach the person managing the list at
| > 	r-package-devel-owner at r-project.org
| > 
| > When replying, please edit your Subject line so it is more specific
| > than "Re: Contents of R-package-devel digest..."
| > 
| > 
| > Today's Topics:
| > 
| >    1. R CMD check yielding different results for me than	CRAN
| >       reviewer (Adah Zhang)
| >    2. Re: R CMD check yielding different results for me than CRAN
| >       reviewer (Ben Bolker)
| >    3. Re: R CMD check yielding different results for me	than	CRAN
| >       reviewer (Dirk Eddelbuettel)
| >    4. Re: R CMD check yielding different results for me than CRAN
| >       reviewer (Uwe Ligges)
| >    5. Re: R CMD check yielding different results for	me	than CRAN
| >       reviewer (Sven E. Templer)
| >    6. Re: R CMD check yielding different results for	me	than CRAN
| >       reviewer (Adah Zhang)
| >    7. Re: R CMD check yielding different results	for	me	than CRAN
| >       reviewer (Dirk Eddelbuettel)
| > 
| > 
| > ----------------------------------------------------------------------
| > 
| > Message: 1
| > Date: Tue, 26 Jan 2016 14:03:01 -0500
| > From: Adah Zhang <asz25 at case.edu>
| > To: r-package-devel at r-project.org
| > Subject: [R-pkg-devel] R CMD check yielding different results for me
| > 	than	CRAN reviewer
| > Message-ID:
| > 	<CAHHtEr-oJKLEcC_=O9gPAHEka_PKUATURryiyzV_HdE+SPY4XQ at mail.gmail.com>
| > Content-Type: text/plain; charset="UTF-8"
| > 
| > Hello,
| > 
| > I am running R CMD check (and also with the --as-cran flag), which results
| > in all OK's in my 00check.log. However, after submitting the package, the
| > CRAN reviewer tells me of a warning/error regarding one of my examples
| > (which is easily fix-able if I got the warning myself).
| > 
| > How do I ensure that all warnings, errors, and notes are addressed if I do
| > not receive these when running the standard checks or when testing the
| > examples myself? Is there a standard order of commands that a CRAN reviewer
| > goes through aside from 'R CMD check'?
| > 
| > Thanks,
| > Adah
| > 
| > 	[[alternative HTML version deleted]]
| > 
| > 
| > 
| > ------------------------------
| > 
| > Message: 2
| > Date: Tue, 26 Jan 2016 14:53:46 -0500
| > From: Ben Bolker <bbolker at gmail.com>
| > To: Adah Zhang <asz25 at case.edu>
| > Cc: r-package-devel at r-project.org
| > Subject: Re: [R-pkg-devel] R CMD check yielding different results for
| > 	me than CRAN reviewer
| > Message-ID:
| > 	<CABghstT3UekAVR5t=PeEKrQbcVURBb+yQQpWWsPtrkpdpv_rEg at mail.gmail.com>
| > Content-Type: text/plain; charset=UTF-8
| > 
| > The most common scenario is that you're using R-release and the
| > warnings are coming from the R-devel version, which often has a bunch
| > of new, additional tests.
| > 
| > The other frequent answer to this question (is there a FAQ list for
| > this mailing list yet?) is that using CRAN's win-builder service is a
| > very easy way to get access to the R-release and R-devel tests without
| > changing anything in your local setup.
| > 
| > 
| > On Tue, Jan 26, 2016 at 2:03 PM, Adah Zhang <asz25 at case.edu> wrote:
| > > Hello,
| > >
| > > I am running R CMD check (and also with the --as-cran flag), which results
| > > in all OK's in my 00check.log. However, after submitting the package, the
| > > CRAN reviewer tells me of a warning/error regarding one of my examples
| > > (which is easily fix-able if I got the warning myself).
| > >
| > > How do I ensure that all warnings, errors, and notes are addressed if I do
| > > not receive these when running the standard checks or when testing the
| > > examples myself? Is there a standard order of commands that a CRAN reviewer
| > > goes through aside from 'R CMD check'?
| > >
| > > Thanks,
| > > Adah
| > >
| > >         [[alternative HTML version deleted]]
| > >
| > > ______________________________________________
| > > R-package-devel at r-project.org mailing list
| > > https://stat.ethz.ch/mailman/listinfo/r-package-devel
| > 
| > 
| > 
| > ------------------------------
| > 
| > Message: 3
| > Date: Tue, 26 Jan 2016 13:54:22 -0600
| > From: Dirk Eddelbuettel <edd at debian.org>
| > To: Adah Zhang <asz25 at case.edu>
| > Cc: r-package-devel at r-project.org
| > Subject: Re: [R-pkg-devel] R CMD check yielding different results for
| > 	me	than	CRAN reviewer
| > Message-ID: <22183.52974.754694.397246 at max.nulle.part>
| > Content-Type: text/plain; charset=us-ascii
| > 
| > 
| > On 26 January 2016 at 14:03, Adah Zhang wrote:
| > | I am running R CMD check (and also with the --as-cran flag), which results
| > | in all OK's in my 00check.log. However, after submitting the package, the
| > | CRAN reviewer tells me of a warning/error regarding one of my examples
| > | (which is easily fix-able if I got the warning myself).
| > | 
| > | How do I ensure that all warnings, errors, and notes are addressed if I do
| > | not receive these when running the standard checks or when testing the
| > | examples myself? Is there a standard order of commands that a CRAN reviewer
| > | goes through aside from 'R CMD check'?
| > 
| > "Use a different computer."
| > 
| > That is not as flippant as it sounds because
| > 
| >  -- thanks to Uwe you have r-release and r-devel on Windows just one ftp
| >     submission away
| > 
| >  -- thanks to Carl and yours truly you can also try a variety of Docker
| >     containers for R including r-devel prebuilt and even SAN/ASAN/UBSAN
| >     flavours
| > 
| >  -- the remainer of campus should offer some choices too though that relies
| >     on your local contacts.
| > 
| > Sometimes these things are of course also due to something else but as you
| > supplied nothing concrete or reproducible I cannot be more specific either.
| > 
| > Hope this helps.  It's the right list for the question.
| > 
| > Dirk
| > 
| > -- 
| > http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
| > 
| > 
| > 
| > ------------------------------
| > 
| > Message: 4
| > Date: Tue, 26 Jan 2016 20:54:38 +0100
| > From: Uwe Ligges <ligges at statistik.tu-dortmund.de>
| > To: Adah Zhang <asz25 at case.edu>, r-package-devel at r-project.org
| > Subject: Re: [R-pkg-devel] R CMD check yielding different results for
| > 	me than CRAN reviewer
| > Message-ID: <56A7CEFE.5070501 at statistik.tu-dortmund.de>
| > Content-Type: text/plain; charset=utf-8; format=flowed
| > 
| > 
| > 
| > On 26.01.2016 20:03, Adah Zhang wrote:
| > > Hello,
| > >
| > > I am running R CMD check (and also with the --as-cran flag), which results
| > > in all OK's in my 00check.log. However, after submitting the package, the
| > > CRAN reviewer tells me of a warning/error regarding one of my examples
| > > (which is easily fix-able if I got the warning myself).
| > >
| > > How do I ensure that all warnings, errors, and notes are addressed if I do
| > > not receive these when running the standard checks or when testing the
| > > examples myself? Is there a standard order of commands that a CRAN reviewer
| > > goes through aside from 'R CMD check'?
| > 
| > The reviewer uses a recent version of R-devel (i.e. a daily built), a 
| > recent set of packages (i.e. run update.packages() first) and then
| > 
| > R CMD check --as-cran (well, at least similar, but you will get the 
| > warnings you talk about if you do that, as I already told you when you 
| > asked CRAN).
| > 
| > Best,
| > Uwe Ligges
| > 
| > 
| > 
| > > Thanks,
| > > Adah
| > >
| > > 	[[alternative HTML version deleted]]
| > >
| > > ______________________________________________
| > > R-package-devel at r-project.org mailing list
| > > https://stat.ethz.ch/mailman/listinfo/r-package-devel
| > >
| > 
| > 
| > 
| > ------------------------------
| > 
| > Message: 5
| > Date: Tue, 26 Jan 2016 21:53:51 +0100
| > From: "Sven E. Templer" <sven.templer at gmail.com>
| > To: Adah Zhang <asz25 at case.edu>
| > Cc: List r-package-devel <r-package-devel at r-project.org>
| > Subject: Re: [R-pkg-devel] R CMD check yielding different results for
| > 	me	than CRAN reviewer
| > Message-ID: <A2B7448B-3344-4EA5-833A-79CC44661871 at icloud.com>
| > Content-Type: text/plain; charset=us-ascii
| > 
| > Dear Adah,
| > 
| > win-builder is fairly easy, but once you've setup a github repository using
| > 
| > https://github.com/metacran/r-builder
| > 
| > you might save even that few amount of work.
| > 
| > Best,
| > Sven
| > 
| > > On 26 Jan 2016, at 20:54, Dirk Eddelbuettel <edd at debian.org> wrote:
| > > 
| > > 
| > > On 26 January 2016 at 14:03, Adah Zhang wrote:
| > > | I am running R CMD check (and also with the --as-cran flag), which results
| > > | in all OK's in my 00check.log. However, after submitting the package, the
| > > | CRAN reviewer tells me of a warning/error regarding one of my examples
| > > | (which is easily fix-able if I got the warning myself).
| > > | 
| > > | How do I ensure that all warnings, errors, and notes are addressed if I do
| > > | not receive these when running the standard checks or when testing the
| > > | examples myself? Is there a standard order of commands that a CRAN reviewer
| > > | goes through aside from 'R CMD check'?
| > > 
| > > "Use a different computer."
| > > 
| > > That is not as flippant as it sounds because
| > > 
| > > -- thanks to Uwe you have r-release and r-devel on Windows just one ftp
| > >    submission away
| > > 
| > > -- thanks to Carl and yours truly you can also try a variety of Docker
| > >    containers for R including r-devel prebuilt and even SAN/ASAN/UBSAN
| > >    flavours
| > > 
| > > -- the remainer of campus should offer some choices too though that relies
| > >    on your local contacts.
| > > 
| > > Sometimes these things are of course also due to something else but as you
| > > supplied nothing concrete or reproducible I cannot be more specific either.
| > > 
| > > Hope this helps.  It's the right list for the question.
| > > 
| > > Dirk
| > > 
| > > -- 
| > > http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
| > > 
| > > ______________________________________________
| > > R-package-devel at r-project.org mailing list
| > > https://stat.ethz.ch/mailman/listinfo/r-package-devel
| > 
| > 
| > 
| > ------------------------------
| > 
| > Message: 6
| > Date: Tue, 26 Jan 2016 16:13:20 -0500
| > From: Adah Zhang <asz25 at case.edu>
| > To: "Sven E. Templer" <sven.templer at gmail.com>
| > Cc: List r-package-devel <r-package-devel at r-project.org>
| > Subject: Re: [R-pkg-devel] R CMD check yielding different results for
| > 	me	than CRAN reviewer
| > Message-ID: <DDEF22D7-FD31-4367-AF43-2D33D399E3C8 at case.edu>
| > Content-Type: text/plain;	charset=us-ascii
| > 
| > Thanks for all the suggestions! I'm working off of a Mac, so I don't think win-builder would work for my case.
| > 
| > 
| > > On Jan 26, 2016, at 3:53 PM, Sven E. Templer <sven.templer at gmail.com> wrote:
| > > 
| > > Dear Adah,
| > > 
| > > win-builder is fairly easy, but once you've setup a github repository using
| > > 
| > > https://github.com/metacran/r-builder
| > > 
| > > you might save even that few amount of work.
| > > 
| > > Best,
| > > Sven
| > > 
| > >> On 26 Jan 2016, at 20:54, Dirk Eddelbuettel <edd at debian.org> wrote:
| > >> 
| > >> 
| > >> On 26 January 2016 at 14:03, Adah Zhang wrote:
| > >> | I am running R CMD check (and also with the --as-cran flag), which results
| > >> | in all OK's in my 00check.log. However, after submitting the package, the
| > >> | CRAN reviewer tells me of a warning/error regarding one of my examples
| > >> | (which is easily fix-able if I got the warning myself).
| > >> | 
| > >> | How do I ensure that all warnings, errors, and notes are addressed if I do
| > >> | not receive these when running the standard checks or when testing the
| > >> | examples myself? Is there a standard order of commands that a CRAN reviewer
| > >> | goes through aside from 'R CMD check'?
| > >> 
| > >> "Use a different computer."
| > >> 
| > >> That is not as flippant as it sounds because
| > >> 
| > >> -- thanks to Uwe you have r-release and r-devel on Windows just one ftp
| > >>   submission away
| > >> 
| > >> -- thanks to Carl and yours truly you can also try a variety of Docker
| > >>   containers for R including r-devel prebuilt and even SAN/ASAN/UBSAN
| > >>   flavours
| > >> 
| > >> -- the remainer of campus should offer some choices too though that relies
| > >>   on your local contacts.
| > >> 
| > >> Sometimes these things are of course also due to something else but as you
| > >> supplied nothing concrete or reproducible I cannot be more specific either.
| > >> 
| > >> Hope this helps.  It's the right list for the question.
| > >> 
| > >> Dirk
| > >> 
| > >> -- 
| > >> http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
| > >> 
| > >> ______________________________________________
| > >> R-package-devel at r-project.org mailing list
| > >> https://stat.ethz.ch/mailman/listinfo/r-package-devel
| > > 
| > 
| > 
| > 
| > ------------------------------
| > 
| > Message: 7
| > Date: Tue, 26 Jan 2016 15:35:42 -0600
| > From: Dirk Eddelbuettel <edd at debian.org>
| > To: Adah Zhang <asz25 at case.edu>
| > Cc: List r-package-devel <r-package-devel at r-project.org>
| > Subject: Re: [R-pkg-devel] R CMD check yielding different results	for
| > 	me	than CRAN reviewer
| > Message-ID: <22183.59054.312112.535814 at max.nulle.part>
| > Content-Type: text/plain; charset=us-ascii
| > 
| > 
| > On 26 January 2016 at 16:13, Adah Zhang wrote:
| > | Thanks for all the suggestions! I'm working off of a Mac, so I don't think win-builder would work for my case.
| > 
| > Wrong. Read http://win-builder.r-project.org.  It is a _service_ that you
| > submit _source_ tarballs to.  Which is why I called it just one ftp away:
| > 
| > | >> On 26 Jan 2016, at 20:54, Dirk Eddelbuettel <edd at debian.org> wrote:
| > | >> -- thanks to Uwe you have r-release and r-devel on Windows just one ftp
| > | >>   submission away
| > 
| > Dirk
| > 
| > -- 
| > http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
| > 
| > 
| > 
| > ------------------------------
| > 
| > Subject: Digest Footer
| > 
| > _______________________________________________
| > R-package-devel mailing list
| > R-package-devel at r-project.org
| > https://stat.ethz.ch/mailman/listinfo/r-package-devel
| > 
| > ------------------------------
| > 
| > End of R-package-devel Digest, Vol 9, Issue 10
| > **********************************************
|  		 	   		  
| 	[[alternative HTML version deleted]]
| 
| ______________________________________________
| R-package-devel at r-project.org mailing list
| https://stat.ethz.ch/mailman/listinfo/r-package-devel

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org



More information about the R-package-devel mailing list