[R-pkg-devel] Package submission check error in "r-devel Windows ix86+x86_6" related to rJava

2019-09-07 Thread Bingnan Jiang
Hello,

When I tried to submit a new version of package "RSCAT", an error happened
during the installation check in the environment "r-devel Windows
ix86+x86_6". It looks like all existing CRAN packages that depend on or
import "rJava" have the same issue on "r-devel Windows ix86+x86_6" (
https://cran.r-project.org/web/checks/check_summary_by_package.html#summary_by_package).
The error message is as follows:

Error: package or namespace load failed for 'rJava':
 .onLoad failed in loadNamespace() for 'rJava', details:
  call: inDL(x, as.logical(local), as.logical(now), ...)
  error: unable to load shared object
'd:/RCompile/CRANpkg/lib/3.7/rJava/libs/i386/rJava.dll':
  LoadLibrary failure:  %1 ist keine zulässige Win32-Anwendung.

The CRAN check passed on my local Win10 PC with r-devel. Could someone help
me to solve this problem? Or is it an issue of "r-devel Windows
ix86+x86_6". Thank you very much.

Regards,
Bingnan

[[alternative HTML version deleted]]

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


Re: [R-pkg-devel] meta-question

2019-09-07 Thread Jeff Newmiller
I don't think this list is only for questions about submitting to CRAN, but it 
is specific to writing packages for R. If your question could just as
easily apply to another language then you probably ought to ask elsewhere.

Perhaps https://softwareengineering.stackexchange.com/help/on-topic ?

On September 7, 2019 6:48:39 AM PDT, David Hugh-Jones 
 wrote:
>Hi all,
>
>A meta-question: I am developing a new package (
>https://github.com/hughjonesd/santoku) and I would like to ask some
>questions. But they are not about e.g. R CMD check or CRAN submission -
>instead they're more abstract questions of software design. Is this the
>right place to ask?
>
>Cheers,
>David
>
>   [[alternative HTML version deleted]]
>
>__
>R-package-devel@r-project.org mailing list
>https://stat.ethz.ch/mailman/listinfo/r-package-devel

-- 
Sent from my phone. Please excuse my brevity.

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


[R-pkg-devel] OFFICIAL: R-devel check error: package or NAMESPACE load failed, there is no package called broom

2019-09-07 Thread Georgina Anderson
OFFICIAL

Hi

Any help with the following update to my package PHEindicatormethods would be 
appreciated.

I have made a very minor change to the package to fix dependencies on the 
tidyr:nest() function as tidyr v 1.0.0 is due to be released with breaking 
changes on 9th September.
The version I am trying to upload to CRAN is 1.1.5 available here: 
https://github.com/PublicHealthEngland/PHEindicatormethods


When I run devtools::check_win_devel locally (Windows 10 laptop, R 3.6.1, 
rStudio 1.2.1335) it passes with no NOTES, ERRORS or WARNINGS (locally it also 
passes devtools::check_win on release and oldrelease and devtools::check_rhub)

When I submit to CRAN I have been notified that package 
PHEindicatormethods_1.1.5.tar.gz does not pass the incoming checks 
automatically, signposting failing pre-tests on Windows:

* using R Under development (unstable) (2019-09-02 r77130)

* using platform: x86_64-w64-mingw32 (64-bit)

* using session charset: ISO8859-1



This is the log file available for 7 days: 
https://win-builder.r-project.org/incoming_pretest/PHEindicatormethods_1.1.5_20190905_224346/Windows/00check.log

Below are two sections from the log that show the errors:


> library('PHEindicatormethods')

Error: package or namespace load failed for 'PHEindicatormethods' in 
loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):

 there is no package called 'broom'

Execution halted

** running examples for arch 'x64' ... ERROR

Running examples in 'PHEindicatormethods-Ex.R' failed

The error occurred in:

R Under development (unstable) (2019-09-02 r77130) -- "Unsuffered Consequences"

Copyright (C) 2019 The R Foundation for Statistical Computing

Platform: x86_64-w64-mingw32/x64 (64-bit)


Error: processing vignette 'WorkedExamples_phe_sii.Rmd' failed with diagnostics:

package or namespace load failed for 'PHEindicatormethods' in loadNamespace(i, 
c(lib.loc, .libPaths()), versionCheck = vI[[i]]):

 there is no package called 'broom'

--- failed re-building 'WorkedExamples_phe_sii.Rmd'

SUMMARY: processing the following file failed:

  'WorkedExamples_phe_sii.Rmd'

Error: Vignette re-building failed.

Execution halted

I have checked the broom package and its upstream dependency on generics - I 
notice the tidy() function was moved from broom to generics a while back but 
this was before I submitted the current version (1.1.3) of my package to CRAN 
so not sure this can be the problem, although one of my functions does 
reference broom::tidy().  The evidence seems to point to changes in R-devel 
causing something in my package to break but without being able to reproduce 
the errors seen by CRAN I'm finding it difficult to pinpoint the problem.

Thanks
Georgie


**
The information contained in the EMail and any attachments is confidential and 
intended solely and for the attention and use of the named addressee(s). It may 
not be disclosed to any other person without the express authority of Public 
Health England, or the intended recipient, or both. If you are not the intended 
recipient, you must not disclose, copy, distribute or retain this message or 
any part of it. This footnote also confirms that this EMail has been swept for 
computer viruses by Symantec.Cloud, but please re-sweep any attachments before 
opening or saving. http://www.gov.uk/PHE
**
[[alternative HTML version deleted]]

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel


[Rd] Missing function Rf_findFun3

2019-09-07 Thread Laurent Gautier
Hi,


The function `Rf_findFun3` is declared in
`$(R CMD CONFIG HOME)/lib/R/include/Rinternals.h`
but appears to be missing from R's shared library (R.so).

Is this an oversight?

Best,

Laurent

[[alternative HTML version deleted]]

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[R-pkg-devel] meta-question

2019-09-07 Thread David Hugh-Jones
Hi all,

A meta-question: I am developing a new package (
https://github.com/hughjonesd/santoku) and I would like to ask some
questions. But they are not about e.g. R CMD check or CRAN submission -
instead they're more abstract questions of software design. Is this the
right place to ask?

Cheers,
David

[[alternative HTML version deleted]]

__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel