[R-pkg-devel] How to fix Tcl/Tk Error on Mac OS build

Tomas Kalibera tom@@@k@||ber@ @end|ng |rom gm@||@com
Tue Apr 26 14:38:19 CEST 2022


On 4/26/22 13:38, Dirk Eddelbuettel wrote:
> Dominic,
>
> On 25 April 2022 at 22:45, Dominic Comtois wrote:
> | ** byte-compile and prepare package for lazy loadingtcltk DLL is
> | linked to '/opt/R/arm64/lib/libtk8.6.dylib'
> | Error: .onLoad failed in loadNamespace() for 'tcltk', details:
> |   call: fun(libname, pkgname)
> |   error: Tcl/Tk libraries are missing: install the Tcl/Tk component
> | from the R installerExecution halted
> | ERROR: lazy loading failed for package ‘summarytools’
> | [...]
>
> Doesn't this simply demonstrate that tcltk is missing on that platform?
> Which is not your fault, or under your control.

Yes, as can be seen by looking at other packages using tcltk (e.g. 
tcltk2 or tkrplot).

> There is no simple or singular way for us to communicate such setup issues to
> CRAn so you could try to email the maintainer of that port here or privately.

You can find the name and address of the maintainer here

https://cran.r-project.org/web/packages/external_libs.html

(linked from the CRAN Repository Policy, 
https://cran.r-project.org/web/packages/policies.html)

and report, but that is probably no longer necessary as Simon is reading 
this list as well.

Best
Tomas

>
> Dirk
>



More information about the R-package-devel mailing list