Skip to content

tcltk error #624

Answered by gaborcsardi
SYOUNG9836 asked this question in Q&A
Jun 19, 2024 · 2 comments · 4 replies
Discussion options

You must be logged in to vote

In general the problem is that your package does not work or even load without an X server. On macOS the R-hub actions do install an X server now, so that works. But on Linux that does not happen.

We could try installing an X server on Linux, but if you think that your package should at least load without an X server, you should modify it to import BiodiversityR on demand, and not from the NAMESPACE file:

> library(rNFI)
Error: package or namespace load failed forrNFI:
 .onLoad failed in loadNamespace() for 'Rcmdr', details:
  call: structure(.External(.C_dotTclObjv, objv), class = "tclObj")
  error: [tcl] invalid command name "tk_messageBox".
> library(BiodiversityR)
Error: package or n…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@SYOUNG9836
Comment options

@gaborcsardi
Comment options

@SYOUNG9836
Comment options

Comment options

You must be logged in to vote
1 reply
@SYOUNG9836
Comment options

Answer selected by SYOUNG9836
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants