[R-pkg-devel] Help Debugging Debian Error

Paul Hibbing p@u|h|bb|ng @end|ng |rom gm@||@com
Fri May 15 04:12:40 CEST 2020


Ah, I hadn't considered that the startup message could be the problem
- I thought the point of startup messages was to be distinct from
errors and warnings, so I wouldn't have expected that to trip up R CMD
Check. I assumed the failure was occurring somewhere inside the actual
code for my unit tests... I will see if removing the startup message
fixes things.

Paul

On Thu, May 14, 2020 at 10:03 PM Gábor Csárdi <csardi.gabor using gmail.com> wrote:
>
> Apparently, this is not a warning, but the package itself is printing
> it as a startup message:
> https://github.com/cran/PAutilities/blob/ada73d8d44177c12867cc385cdca0054885ddae3/R/zzz.R#L5
>
> Gabor
>
> On Fri, May 15, 2020 at 2:30 AM Gábor Csárdi <csardi.gabor using gmail.com> wrote:
> >
> > It is unlikely that this is an R-hub issue because the first link is
> > CRAN's machine, and the same error happens there.
> >
> > I can reproduce it on macOS:
> >
> > git clone https://github.com/paulhibbing/PAutilities
> > R CMD INSTALL PAutilities
> >
> > R -q -e 'packageDescription("PAutilities")$Built'
> > #> > packageDescription("PAutilities")$Built
> > #> [1] "R 3.6.2; x86_64-apple-darwin15.6.0; 2020-05-15 01:24:03 UTC; unix"
> >
> > R -q -e "library(PAutilities)"
> > #> > library(PAutilities)
> > #> package 'PAutilities' was built under R version 3.5.0
> >
> > I have no clue how this can happen, I clearly just built it on R 3.6.3
> >
> > Gabor
> >
> > On Fri, May 15, 2020 at 2:08 AM Dirk Eddelbuettel <edd using debian.org> wrote:
> > >
> > > On 14 May 2020 at 11:41, Paul Hibbing wrote:
> > > | * Here is the CRAN check (devel version 2020-05-13):
> > > |
> > > | https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-debian-gcc/PAutilities-00check.html
> > > |
> > > | * Here is the successful R-hub check (devel version 2020-05-10):
> > > |
> > > | https://artifacts.r-hub.io/PAutilities_1.0.0.tar.gz-43f919fd5595416799d74bfb312fdd34/PAutilities.Rcheck/00check.log
> > > |
> > > | * Here is the unsuccessful R-hub check (R 3.6.3)
> > > |
> > > | https://artifacts.r-hub.io/PAutilities_1.0.0.tar.gz-c1592e94abe04155933d5dfe5898c1b8/PAutilities.Rcheck/00check.log
> > >
> > > Hm, doesn't that simply mean that this r-hub box is out of sync?
> > >
> > > So maybe file an issue at the rhub github repo, and test with another of the
> > > (many!)  available platforms at rhub -- run rhub::platforms() to see.
> > >
> > > Dirk
> > >
> > > | On Thu, May 14, 2020 at 11:36 AM Paul Hibbing <paulhibbing using gmail.com> wrote:
> > > | >
> > > | > Hi all,
> > > | >
> > > | > At some point (I believe within the last week or so), my package
> > > | > `PAutilities` has developed the following error for
> > > | > r-devel-linux-x86_64-debian-gcc:
> > > | >
> > > | > * checking tests ... [3s/3s] ERROR
> > > | >   Running ‘testthat.R’ [3s/3s]
> > > | > Running the tests in ‘tests/testthat.R’ failed.
> > > | > Complete output:
> > > | >   > library(testthat)
> > > | >   > library(PAutilities)
> > > | >   package 'PAutilities' was built under R version 3.5.0
> > > | >   >
> > > | >   > test_check("PAutilities")
> > > | >
> > > | > I get the same error using `rhub::check_on_debian`, but not
> > > | > `rhub::check(platform = "debian-gcc-devel")`.
> > > | >
> > > | > So far, my best guesses have been that issues were caused by either a
> > > | > dependency problem (particularly the `matchingMarkets` package, which
> > > | > has given me trouble in the past), or with the major increment in R
> > > | > itself. But so far neither of those ideas have yielded much fruit. Any
> > > | > other ideas, considerations, or things I should be aware of? I'm
> > > | > working on installing a virtual machine to see about some manual
> > > | > debugging, but I would love some guidance in the meantime.
> > > | >
> > > | > Best,
> > > | > Paul Hibbing
> > > |
> > > | ______________________________________________
> > > | R-package-devel using r-project.org mailing list
> > > | https://stat.ethz.ch/mailman/listinfo/r-package-devel
> > >
> > > --
> > > http://dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org
> > >
> > > ______________________________________________
> > > R-package-devel using r-project.org mailing list
> > > https://stat.ethz.ch/mailman/listinfo/r-package-devel



More information about the R-package-devel mailing list