I encountered this error for elementR when running reverse dependency checks for the upcoming release of readxl. I don't think it has anything to do with readxl but am reporting anyway. I note the same error is also reported on elementR's CRAN Package Check Results.
checking examples ... ERROR
Running examples in ‘elementR-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: elementR_project
> ### Title: Object elementR_project
> ### Aliases: elementR_project
>
> ### ** Examples
>
> ## create a new elementR_repStandard object based on the "filePath"
> ## from a folder containing sample replicate
>
> filePath <- system.file("Example_Session", package="elementR")
>
> exampleProject <- elementR_project$new(filePath)
Error in structure(.External(.C_dotTclObjv, objv), class = "tclObj") :
[tcl] invalid command name "toplevel".
Calls: <Anonymous> ... tktoplevel -> tkwidget -> tcl -> .Tcl.objv -> structure
Execution halted
I encountered this error for elementR when running reverse dependency checks for the upcoming release of readxl. I don't think it has anything to do with readxl but am reporting anyway. I note the same error is also reported on elementR's CRAN Package Check Results.