[Bioc-devel] Warning: loading Rplot failed

rcaloger raffaele.calogero at gmail.com
Sat Mar 22 21:15:04 CET 2014


Hi, I am the maintainer of oneChannelGUI
I find a warning in the devel branch BioC 2.14: CHECK report for 
oneChannelGUI on zin2 the ubuntu linux machine
There is a warning referring to the loading of Rplot which fails:

Package: oneChannelGUI
Version: 1.29.4
Command: /home/biocbuild/bbs-2.14-bioc/R/bin/R CMD check --no-vignettes 
--timings oneChannelGUI_1.29.4.tar.gz
StartedAt: 2014-03-21 08:13:35 -0700 (Fri, 21 Mar 2014)
EndedAt: 2014-03-21 08:31:05 -0700 (Fri, 21 Mar 2014)
EllapsedTime: 1050.0 seconds
RetCode: 0
Status:  WARNINGS
CheckDir: oneChannelGUI.Rcheck
Warnings: 1
...
Found the following significant warnings:
   Warning: loading Rplot failed
   Warning: loading Rplot failed
See 
'/home/biocbuild/bbs-2.14-bioc/meat/oneChannelGUI.Rcheck/00install.out' 
for details.
...

I think is related to something outside my package but I do not know how 
to remove it.

I made a check installing  tkrplot which also call Rplot and I got the 
same warning:  loading Rplot failed

The warning comes from the following piece of code from the .onLoad of 
the tkplot library
.onLoad <- function(libname, pkgname) {
     chname <- "tkrplot"
     file.ext <- .Platform$dynlib.ext
     dlname <- paste(chname, file.ext, sep = "")
     if (is.character(.Platform$r_arch) && .Platform$r_arch != "")
         path <- file.path("libs", .Platform$r_arc, dlname)
     else path <- file.path("libs", dlname)
     file <- system.file(path, package = pkgname, lib.loc = libname)[1]
     tryCatch(tcl("load", file, "Rplot"),
              error = function(e)
              warning("loading Rplot failed", call. = FALSE))
}

Any suggestion how to remove this warning from my package?
Cheers
Raf



More information about the Bioc-devel mailing list