Skip to content
Back to formatted view

Raw Message

Message-ID: <2a4c9f61-f8f1-f093-d4ef-f2a2b2a979cc@gmail.com>
Date: 2022-04-26T12:38:19Z
From: Tomas Kalibera
Subject: [R-pkg-devel] How to fix Tcl/Tk Error on Mac OS build
In-Reply-To: <25191.55713.853018.141362@rob.eddelbuettel.com>

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
>