r-lib / ragg

Graphic Devices Based on AGG
https://ragg.r-lib.org
Other
172 stars 24 forks source link

install error #147

Closed fipoucat closed 6 months ago

fipoucat commented 11 months ago

I am facing the below error when installing ragg:

β†’ Will download 1 package with unknown size.

Any hint?

thomasp85 commented 11 months ago

ragg has just been updated but binaries has not yet been build. So pak is trying to install the source version which requires a number of system libraries that I guess is not available on your system. Either force binaries during install (will currently not install the latest version, wait a few days for cran to serve the newest binaries, or install the required system libraries as given in the DESCRIPTION file

eBsowka commented 11 months ago

Evening It seems I have the same issue: using command: Rscript -e 'withr::with_libpaths(new = "/opt/conda/envs/env_name/lib/R/library", pak::pak("r-lib/ragg@v1.2.0"))' or versions v1.2.5, v1.2.6 or not specifying one I get: Using bundled GitHub PAT. Please add your own PAT using gitcreds::gitcreds_set(). βœ” Updated metadata database: 2.81 MB in 8 files. βœ” Updating metadata database ... done

β†’ Will update 1 package. β†’ Will download 1 package with unknown size.

β„Ή Getting 1 pkg with unknown size βœ” Got ragg 1.2.0 (source) (2.41 MB) β„Ή Packaging ragg 1.2.0 βœ” Packaged ragg 1.2.0 (5s) β„Ή Building ragg 1.2.0 βœ– Failed to build ragg 1.2.0 Error: ! error in pak subprocess Caused by error in stop_task_build(state, worker): ! Failed to build source package 'ragg' Full installation output:

Any ideas?

thomasp85 commented 11 months ago

I do not know how conda works but it seems that people in general install conda specific packages when they want to use it. In any regards this is a conda issue not a ragg issue

jxu commented 10 months ago

Did you try installing the libraries it recommended in the error message? What OS are you on?