Skip to content

[R-pkg-devel] Windows specific install error

3 messages · Ryan Sartor, Martin Morgan, Uwe Ligges

#
Hello everyone,

My package seems to pass all the CRAN checks for Linux but fails to install
on Windows. This is the contents of 00install.out:

* installing *source* package 'DiPALM' ...
** using staged installation
** R
** data
** inst
** byte-compile and prepare package for lazy loading
Error: .onLoad failed in loadNamespace() for 'S4Vectors', details:
  call: validObject(.Object)
  error: invalid class "LLint" object: superclass "integer_OR_LLint"
not defined in the environment of the object's class
Execution halted
ERROR: lazy loading failed for package 'DiPALM'
* removing 'd:/RCompile/CRANincoming/R-devel/lib/DiPALM'


If I understand the error, it's saying that the CRAN server cannot
load the S4Vectors package because one of classes it depends on is not
defined. I'm guessing this is a namespace issue? I've taken a few
shots at adding directives to my NAMESPACE file but obviously I don't
know what I'm doing or maybe the error has nothing to do with my
package namespace.

Any insight would be greatly appreciated.

Thank you!
#
This is the same as

  https://stat.ethz.ch/pipermail/r-package-devel/2020q1/005256.html

and due I believe to stale packages on the CRAN windows builder; the solution is I believe on the CRAN side.

Martin Morgan

?On 4/7/20, 6:14 PM, "R-package-devel on behalf of Ryan Sartor" <r-package-devel-bounces at r-project.org on behalf of sartorry at gmail.com> wrote:

    Hello everyone,
    
    My package seems to pass all the CRAN checks for Linux but fails to install
    on Windows. This is the contents of 00install.out:
    
    * installing *source* package 'DiPALM' ...
    ** using staged installation
    ** R
    ** data
    ** inst
    ** byte-compile and prepare package for lazy loading
    Error: .onLoad failed in loadNamespace() for 'S4Vectors', details:
      call: validObject(.Object)
      error: invalid class "LLint" object: superclass "integer_OR_LLint"
    not defined in the environment of the object's class
    Execution halted
    ERROR: lazy loading failed for package 'DiPALM'
    * removing 'd:/RCompile/CRANincoming/R-devel/lib/DiPALM'
    
    
    If I understand the error, it's saying that the CRAN server cannot
    load the S4Vectors package because one of classes it depends on is not
    defined. I'm guessing this is a namespace issue? I've taken a few
    shots at adding directives to my NAMESPACE file but obviously I don't
    know what I'm doing or maybe the error has nothing to do with my
    package namespace.
    
    Any insight would be greatly appreciated.
    
    Thank you!
    
    
    ______________________________________________
    R-package-devel at r-project.org mailing list
    https://stat.ethz.ch/mailman/listinfo/r-package-devel
6 days later
#
Yes, should be fixed by tmorrow,
Uwe
On 08.04.2020 00:16, Martin Morgan wrote: