Skip to content

issue with tidytree 0.3.9 -> 0.4.0 under latest R 4.2.1-2 #27

@splaisan

Description

@splaisan

Dear,

I just tried to install other packages depending on tidytree and they failed.
Installing tidytree itself also fails after looking for a missing class.

I recently had other packages failing in that way, it seems that some general functions of classes have vanished with some recent R upgrade.

Does any one know what to do here?

Thanks in advance

Bioconductor version 3.15 (BiocManager 1.30.18), R 4.2.1 (2022-06-23) ubuntu 20 (up-to-date)

> BiocManager::install("tidytree")
'getOption("repos")' replaces Bioconductor standard repositories, see '?repositories' for details

replacement repositories:
    CRAN: https://cloud.r-project.org

Bioconductor version 3.15 (BiocManager 1.30.18), R 4.2.1 (2022-06-23)
Installing package(s) 'tidytree'
trying URL 'https://cloud.r-project.org/src/contrib/tidytree_0.4.0.tar.gz'
Content type 'application/x-gzip' length 63761 bytes (62 KB)
==================================================
downloaded 62 KB

* installing *source* package ‘tidytree’ ...
** package ‘tidytree’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in setClassUnion("DNAbin_Or_AAbin", c("DNAbin", "AAbin", "NULL")) : 
  could not find function "setClassUnion"
Error: unable to load R code in package ‘tidytree’
Execution halted
ERROR: lazy loading failed for package ‘tidytree’
* removing ‘/opt/R_LIBS/tidytree’
* restoring previous ‘/opt/R_LIBS/tidytree’

The downloaded source packages are in
	‘/opt/R_LIBS/tmp/RtmpapGmC3/downloaded_packages’
Old packages: 'tidytree'
Update all/some/none? [a/s/n]: 
a
trying URL 'https://cloud.r-project.org/src/contrib/tidytree_0.4.0.tar.gz'
Content type 'application/x-gzip' length 63761 bytes (62 KB)
==================================================
downloaded 62 KB

* installing *source* package ‘tidytree’ ...
** package ‘tidytree’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in setClassUnion("DNAbin_Or_AAbin", c("DNAbin", "AAbin", "NULL")) : 
  could not find function "setClassUnion"
Error: unable to load R code in package ‘tidytree’
Execution halted
ERROR: lazy loading failed for package ‘tidytree’
* removing ‘/opt/R_LIBS/tidytree’
* restoring previous ‘/opt/R_LIBS/tidytree’

The downloaded source packages are in
	‘/opt/R_LIBS/tmp/RtmpapGmC3/downloaded_packages’
Warning messages:
1: In install.packages(...) :
  installation of package ‘tidytree’ had non-zero exit status
2: In install.packages(update[instlib == l, "Package"], l, contriburl = contriburl,  :
  installation of package ‘tidytree’ had non-zero exit status

Not a BioConductor issue, I get the same with the R installer

> install.packages("tidytree")
trying URL 'https://cloud.r-project.org/src/contrib/tidytree_0.4.0.tar.gz'
Content type 'application/x-gzip' length 63761 bytes (62 KB)
==================================================
downloaded 62 KB

* installing *source* package ‘tidytree’ ...
** package ‘tidytree’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in setClassUnion("DNAbin_Or_AAbin", c("DNAbin", "AAbin", "NULL")) : 
  could not find function "setClassUnion"
Error: unable to load R code in package ‘tidytree’
Execution halted
ERROR: lazy loading failed for package ‘tidytree’
* removing ‘/opt/R_LIBS/tidytree’
* restoring previous ‘/opt/R_LIBS/tidytree’
Warning in install.packages :
  installation of package ‘tidytree’ had non-zero exit status

The downloaded source packages are in
	‘/opt/R_LIBS/tmp/RtmpRfy7nt/downloaded_packages’

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions