Re: [R-pkg-devel] Help Debugging Debian Error

2020-05-15 Thread Paul Hibbing
Removing the startup message did not resolve the issue. Now I have just: * checking tests ... Running ‘testthat.R’ ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(PAutilities) > > test_check("PAutilities") See https://artifacts.r-hu

Re: [R-pkg-devel] Help Debugging Debian Error

2020-05-15 Thread Ivan Krylov
On Fri, 15 May 2020 03:50:12 -0400 Paul Hibbing wrote: > Complete output: > > library(testthat) > > library(PAutilities) > > > > test_check("PAutilities") It seems to me that the R process crashes while running your tests, but since testthat::test_check captures everything to summarise

Re: [R-pkg-devel] Help Debugging Debian Error

2020-05-15 Thread Gábor Csárdi
You don't need to move the files around, though, just use a more verbose testthat reporter, e.g. in testthat.R use test_check("PAutilities", reporter = "summary") and then at least you'll know where it crashes. But to fix this, you'll probably need to debug it locally. You can do that in Docker i

[R-pkg-devel] Package submission failed with two warnings

2020-05-15 Thread FARSHAD TABASINEJAD
Dear R-package-devel experts, This is the first time I’m writing to this platform about a package I recently submitted to CRAN (my first package). While the package is already available on CRAN, I still must fix a few warnings and one error as reported on the CRAN package check results page: htt

Re: [R-pkg-devel] Package submission failed with two warnings

2020-05-15 Thread Mauricio Zambrano-Bigiarini
On Fri, 15 May 2020 at 10:34, FARSHAD TABASINEJAD wrote: > > Dear R-package-devel experts, > > This is the first time I’m writing to this platform about a package I > recently submitted to CRAN (my first package). > While the package is already available on CRAN, I still must fix a few > warning

Re: [R-pkg-devel] Package submission failed with two warnings

2020-05-15 Thread Duncan Murdoch
For your first warning, see the CRAN policy: "Updates to previously-published packages must have an increased version. Increasing the version number at each submission reduces confusion so is preferred even when a previous submission was not accepted." For the second, it's hard to say what's

Re: [R-pkg-devel] Package submission failed with two warnings

2020-05-15 Thread FARSHAD TABASINEJAD
Hi Duncan, I changed the version, recreated the package, and then tested it with the rhub::check_for_cran(). The function failed to create a summary for all the platform results together, however individual results are available in the following links. https://builder.r-hub.io/status/Rpvt_0.1

Re: [R-pkg-devel] Package submission failed with two warnings

2020-05-15 Thread Max Turgeon
Hi Farshad, The error you get when compiling your vignette gives us a hint: Error: processing vignette 'Rpvt.Rmd' failed with diagnostics: package or namespace load failed for 'ggpubr' in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]): there is no package called '

Re: [R-pkg-devel] Package submission failed with two warnings

2020-05-15 Thread Gábor Csárdi
The reason is that CRAN does not have an R-devel binary for data.table, and because of this install.packages() decides not to install it. Here is a workaround: https://github.com/r-hub/rhub/issues/367#issuecomment-621757715 Gabor On Fri, May 15, 2020 at 10:50 PM Max Turgeon wrote: > > Hi Farshad

Re: [R-pkg-devel] Help Debugging Debian Error

2020-05-15 Thread Paul Hibbing
Thanks for the tips. It appears the error is indeed related to the matchingMarkets package, but specifically an issue with rJava configuration. Now I get the following (see https://artifacts.r-hub.io/PAutilities_1.0.0.tar.gz-54a555386e924de6a53385479a1e199f/PAutilities.Rcheck/00check.log ): VALIDA