Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No binary available for R 4.2 #788

Open
rsh52 opened this issue Feb 7, 2023 · 1 comment
Open

No binary available for R 4.2 #788

rsh52 opened this issue Feb 7, 2023 · 1 comment

Comments

@rsh52
Copy link

rsh52 commented Feb 7, 2023

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

image

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

It would be great to keep up to date with the current R version. I apologize if this is not the proper place to post this, or if this has more to do on the Posit side than on highcharter's.

Any insight or advice appreciated and thank you!

@StephenAtKinetiq
Copy link

StephenAtKinetiq commented Oct 30, 2023

I am using
FROM rocker/r-ver:4.3.1

in my build and added

# for high charts (highcharter) RUN 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

And resolved a similar problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants