Closed fipoucat closed 6 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
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:
ERROR: configuration failed for package βraggβ
Backtrace:
Subprocess backtrace:
Any ideas?
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
Did you try installing the libraries it recommended in the error message? What OS are you on?
I am facing the below error when installing ragg:
β Will download 1 package with unknown size.
β Downloaded 1 package (734.17 kB)in 5.1s
βΉ Packaging ragg 1.2.6.9000 β Packaged ragg 1.2.6.9000 (2.5s)
βΉ Building ragg 1.2.6.9000
β Failed to build ragg 1.2.6.9000
Error:
! error in pak subprocess Caused by error in
stop_task_build(state, worker)
: ! Failed to build source package 'ragg' Type .Last.error to see the more details.Any hint?