Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
splaisan opened this issue Aug 16, 2022 · 0 comments
Open

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

splaisan opened this issue Aug 16, 2022 · 0 comments

Comments

@splaisan
Copy link

splaisan commented Aug 16, 2022

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’
@splaisan splaisan changed the title issue with tidytree under latest R 4.2.1-2 issue with tidytree 0.3.9 -> 0.4.0 under latest R 4.2.1-2 Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant