r-rust / gifski

R wrapper for the 'gifski' Rust Cargo crate.
Other
73 stars 4 forks source link

Installing gifski in a Colab R Kernel notebook #23

Closed AlejandroDGR closed 2 years ago

AlejandroDGR commented 2 years ago

I'm using gifski in a Colab R Kernel notebook. Until last week, I was using this code to install gifski:

system("apt-get install -y libffmpeg-dev libpngquant-dev")
system("apt-get install rustc")
install.packages("gifski")

However, today, the following error arises:

Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)

Warning message in install.packages("gifski"):
“installation of package ‘gifski’ had non-zero exit status”

I have tried this code too:

system("apt-get install -y libffmpeg-dev libpngquant-dev")
system("apt-get install rustc")
devtools::install_github("r-rust/gifski")

But the same error arises:

Downloading GitHub repo r-rust/gifski@HEAD

* checking for file ‘/tmp/RtmpvgmVqs/remotes414c1b52db/r-rust-gifski-a494231/DESCRIPTION’ ... OK
* preparing ‘gifski’:
* checking DESCRIPTION meta-information ... OK
* cleaning src
* checking for LF line-endings in source and make files and shell scripts
* checking for empty or unneeded directories
* building ‘gifski_1.6.6-1.tar.gz’

Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)

Warning message in i.p(...):
“installation of package ‘/tmp/RtmpvgmVqs/file413f189926/gifski_1.6.6-1.tar.gz’ had non-zero exit status”

Any idea about how to install properly gifski in a Colab R Kernel notebook?

jeroen commented 2 years ago

Is there no more output? The entire installation log seems to be missing?

AlejandroDGR commented 2 years ago

No, that is the only output which Colab shows. Sorry.

jeroen commented 2 years ago

There isn't much I can do to help without any error messages.