the suspected causes of this issue come from two factors:
- During canceR install tcltk2 induces and the insyall is frozen at step
byte-compile and prepare package for lazy loading
error reading package index file /usr/local/lib/R/site-library/tcltk2/tklibs/ttktheme_radiance/pkgIndex.tcl: too many nested evaluations (infinite loop?)
error reading package index file /usr/local/lib/R/site-library/tcltk2/tklibs/ttktheme_clearlooks/pkgIndex.tcl: too many nested evaluations (infinite loop?)
If the tcltk2 package is omitted, the installation continues and ends with warning messages
Warning message:
In fun(libname, pkgname) : couldn't connect to display ":0"
Warning: loading Rplot failed
- In this case, canceR could not be start with warning message at the starting. After tracking back the warning message, it turns out that
tktoplevel is the cause.
tt <-tcltk::tktoplevel()
Error in structure(.External(.C_dotTclObjv, objv), class = "tclObj") :
[tcl] invalid command name "toplevel".
the suspected causes of this issue come from two factors:
byte-compile and prepare package for lazy loadingIf the tcltk2 package is omitted, the installation continues and ends with warning messages
tktoplevelis the cause.