No binary available for highcharter R v4.2

Problem Description

We are using highcharter to great effect in some applications on GitHub Enterprise. Recently, we began receiving CI failures during R-CMD-Check with the following error log:

* installing *source* package 'highcharter' ...
** package 'highcharter' successfully unpacked and MD5 sums checked
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
Error in dyn.load(file, DLLpath = DLLpath, ...) : 
  unable to load shared object '/runner/_work/_temp/Library/igraph/libs/igraph.so':
  libglpk.so.40: cannot open shared object file: No such file or directory
Calls: <Anonymous> ... asNamespace -> loadNamespace -> library.dynam -> dyn.load
ERROR: lazy loading failed for package 'highcharter'
Execution halted
* removing '/runner/_work/_temp/Library/highcharter'

On the Posit Package Manager we found that for the following distribution no binary was available:

  • Ubuntu 20.04 (Focal)
  • R 4.2

Current Solution

In order to get the package working on CI again, we rolled back our R version to 4.1 and specified installation of all system prerequisites described on the site:

apt-get install -y libicu-dev
apt-get install -y pandoc
apt-get install -y make
apt-get install -y libglpk-dev
apt-get install -y libgmp3-dev
apt-get install -y libxml2-dev
apt-get install -y libcurl4-openssl-dev
apt-get install -y libssl-dev
apt-get install -y zlib1g-dev

Any insight or advice appreciated and thank you!

1 Like

Thanks for the report. We've logged an internal issue to fix the highcharter binary for R 4.2, but don't have any ETA on when it'll be fixed. In the meantime, highcharter's dependencies (such as igraph) should still be available as binary for R 4.2. Since highcharter doesn't have any compiled code, it's not too bad that there's no precompiled highcharter binary right now.

1 Like