Closed IvanProdaiko94 closed 5 years ago
error appeared while installing the gifski package
install.packages("gifski") trying URL 'https://cloud.r-project.org/src/contrib/gifski_0.8.6.tar.gz' Content type 'application/x-gzip' length 12142 bytes (11 KB) ================================================== downloaded 11 KB During startup - Warning messages: 1: Setting LC_TIME failed, using "C" 2: Setting LC_MESSAGES failed, using "C" 3: Setting LC_MONETARY failed, using "C" * installing *source* package ‘gifski’ ... ** package ‘gifski’ successfully unpacked and MD5 sums checked Using /Users/ivanprodaiko/.cargo/bin/cargo (cargo 1.34.0 (6789d8a0a 2019-04-01)) ** libs clang -I"/usr/local/Cellar/r/3.5.3/lib/R/include" -DNDEBUG -I/usr/local/opt/gettext/include -I/usr/local/opt/readline/include -I/usr/local/include -pthread -fPIC -g -O2 -c wrapper.c -o wrapper.o /Users/ivanprodaiko/.cargo/bin/cargo build --release --manifest-path=myrustlib/Cargo.toml Updating crates.io index error: failed to fetch `https://github.com/rust-lang/crates.io-index` Caused by: failed to authenticate when downloading repository attempted ssh-agent authentication, but none of the usernames `git` succeeded Caused by: no authentication available make: *** [myrustlib/target/release/libmyrustlib.a] Error 101 ERROR: compilation failed for package ‘gifski’ * removing ‘/usr/local/Cellar/r/3.5.3/lib/R/library/gifski’ The downloaded source packages are in ‘/private/tmp/RtmplpsL1C/downloaded_packages’ Updating HTML index of packages in '.Library' Making 'packages.html' ... done Warning message: In install.packages("gifski") : installation of package ‘gifski’ had non-zero exit status
Looks like your git is not working, what do you see for?
git
git clone https://github.com/rust-lang/crates.io-index
error appeared while installing the gifski package