Closed ignacio82 closed 3 years ago
Can you try the code below and see if that works?
devtools::install_github("gadenbuie/xaringanExtra@main")
No luck
> devtools::install_github("gadenbuie/xaringanExtra@main")
Downloading GitHub repo gadenbuie/xaringanExtra@main
Error in utils::download.file(url, path, method = method, quiet = quiet, :
cannot open URL 'https://api.github.com/repos/gadenbuie/xaringanExtra/tarball/main'
Oh shoot, sorry, I haven't moved this repo to use main
as the default branch yet. Does this work?
devtools::install_github("gadenbuie/xaringanExtra@master")
If that doesn't work can you share the results of devtools::session_info()
? Thanks!
> devtools::install_github("gadenbuie/xaringanExtra@master")
Downloading GitHub repo gadenbuie/xaringanExtra@master
Error in utils::download.file(url, path, method = method, quiet = quiet, :
download from 'https://api.github.com/repos/gadenbuie/xaringanExtra/tarball/master' failed
devtools::session_info()
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to create bus connection: Host is down
─ Session info ───────────────────────────────────────────────────────────────────────────────────────────────────────
setting value
version R version 4.0.3 (2020-10-10)
os Ubuntu 20.04.1 LTS
system x86_64, linux-gnu
ui RStudio
language (EN)
collate en_US.UTF-8
ctype en_US.UTF-8
tz /UTC
date 2020-10-29
─ Packages ───────────────────────────────────────────────────────────────────────────────────────────────────────────
package * version date lib source
assertthat 0.2.1 2019-03-21 [3] CRAN (R 4.0.0)
backports 1.1.10 2020-09-15 [3] CRAN (R 4.0.2)
callr 3.5.0 2020-10-08 [3] CRAN (R 4.0.3)
cli 2.1.0 2020-10-12 [3] CRAN (R 4.0.3)
coda 0.19-4 2020-09-30 [3] CRAN (R 4.0.2)
codetools 0.2-16 2018-12-24 [4] CRAN (R 4.0.0)
colorspace 1.4-1 2019-03-18 [3] CRAN (R 4.0.0)
crayon 1.3.4 2017-09-16 [3] CRAN (R 4.0.0)
cubelyr 1.0.0 2020-02-29 [2] CRAN (R 4.0.3)
curl 4.3 2019-12-02 [3] CRAN (R 4.0.0)
desc 1.2.0 2018-05-01 [3] CRAN (R 4.0.0)
devtools 2.3.2 2020-09-18 [3] CRAN (R 4.0.2)
digest 0.6.27 2020-10-24 [3] CRAN (R 4.0.3)
dplyr * 1.0.2 2020-08-18 [3] CRAN (R 4.0.2)
ellipsis 0.3.1 2020-05-15 [3] CRAN (R 4.0.0)
evaluate 0.14 2019-05-28 [3] CRAN (R 4.0.0)
fansi 0.4.1 2020-01-08 [3] CRAN (R 4.0.0)
farver 2.0.3 2020-01-16 [3] CRAN (R 4.0.0)
fs 1.5.0 2020-07-31 [3] CRAN (R 4.0.2)
gdtools * 0.2.2 2020-04-03 [3] CRAN (R 4.0.0)
generics 0.0.2 2018-11-29 [3] CRAN (R 4.0.0)
ggplot2 * 3.3.2 2020-06-19 [3] CRAN (R 4.0.1)
glue 1.4.2 2020-08-27 [3] CRAN (R 4.0.2)
gridExtra 2.3 2017-09-09 [3] CRAN (R 4.0.0)
gtable 0.3.0 2019-03-25 [3] CRAN (R 4.0.0)
htmltools 0.5.0 2020-06-16 [3] CRAN (R 4.0.1)
htmlwidgets 1.5.2 2020-10-03 [3] CRAN (R 4.0.2)
httpuv 1.5.4 2020-06-06 [3] CRAN (R 4.0.0)
inline 0.3.16 2020-09-06 [2] CRAN (R 4.0.3)
jsonlite 1.7.1 2020-09-07 [3] CRAN (R 4.0.2)
knitr 1.30 2020-09-22 [2] CRAN (R 4.0.3)
labeling 0.3 2014-08-23 [3] CRAN (R 4.0.0)
later 1.1.0.1 2020-06-05 [3] CRAN (R 4.0.0)
lattice 0.20-41 2020-04-02 [4] CRAN (R 4.0.0)
lifecycle 0.2.0 2020-03-06 [3] CRAN (R 4.0.0)
loo 2.3.1 2020-07-14 [2] CRAN (R 4.0.3)
lubridate * 1.7.9 2020-06-08 [2] CRAN (R 4.0.3)
magrittr 1.5 2014-11-22 [3] CRAN (R 4.0.0)
matrixStats 0.57.0 2020-09-25 [1] CRAN (R 4.0.2)
memoise 1.1.0 2017-04-21 [3] CRAN (R 4.0.0)
mime 0.9 2020-02-04 [3] CRAN (R 4.0.0)
munsell 0.5.0 2018-06-12 [3] CRAN (R 4.0.0)
packrat 0.5.0 2018-11-14 [2] CRAN (R 4.0.3)
pillar 1.4.6 2020-07-10 [3] CRAN (R 4.0.2)
pkgbuild 1.1.0 2020-07-13 [3] CRAN (R 4.0.2)
pkgconfig 2.0.3 2019-09-22 [3] CRAN (R 4.0.0)
pkgload 1.1.0 2020-05-29 [3] CRAN (R 4.0.0)
prettyunits 1.1.1 2020-01-24 [3] CRAN (R 4.0.0)
processx 3.4.4 2020-09-03 [3] CRAN (R 4.0.2)
promises 1.1.1 2020-06-09 [3] CRAN (R 4.0.1)
ps 1.4.0 2020-10-07 [3] CRAN (R 4.0.2)
purrr 0.3.4 2020-04-17 [3] CRAN (R 4.0.0)
R6 2.5.0 2020-10-28 [2] CRAN (R 4.0.3)
Rcpp 1.0.5 2020-07-06 [3] CRAN (R 4.0.2)
RcppParallel 5.0.2 2020-06-24 [2] CRAN (R 4.0.3)
remotes 2.2.0 2020-07-21 [2] CRAN (R 4.0.3)
rlang 0.4.8 2020-10-08 [3] CRAN (R 4.0.2)
rmarkdown 2.5 2020-10-21 [2] CRAN (R 4.0.3)
rprojroot 1.3-2 2018-01-03 [3] CRAN (R 4.0.0)
rstan * 2.21.2 2020-07-27 [2] CRAN (R 4.0.3)
rstudioapi 0.11 2020-02-07 [3] CRAN (R 4.0.0)
scales 1.1.1 2020-05-11 [3] CRAN (R 4.0.0)
servr 0.20 2020-10-19 [2] CRAN (R 4.0.3)
sessioninfo 1.1.1 2018-11-05 [3] CRAN (R 4.0.0)
showtext * 0.9 2020-08-13 [2] CRAN (R 4.0.3)
showtextdb * 3.0 2020-06-04 [2] CRAN (R 4.0.3)
StanHeaders * 2.21.0-6 2020-08-16 [2] CRAN (R 4.0.3)
stringi 1.5.3 2020-09-09 [3] CRAN (R 4.0.2)
stringr 1.4.0 2019-02-10 [3] CRAN (R 4.0.0)
svglite * 1.2.3.2 2020-07-07 [3] CRAN (R 4.0.2)
sysfonts * 0.8.1 2020-05-08 [2] CRAN (R 4.0.3)
systemfonts 0.3.2 2020-09-29 [3] CRAN (R 4.0.2)
testthat 2.3.2 2020-03-02 [3] CRAN (R 4.0.0)
tibble 3.0.4 2020-10-12 [3] CRAN (R 4.0.3)
tidyr 1.1.2 2020-08-27 [3] CRAN (R 4.0.2)
tidyselect 1.1.0 2020-05-11 [3] CRAN (R 4.0.0)
truncnorm * 1.0-8 2018-02-27 [3] CRAN (R 4.0.0)
usethis 1.6.3 2020-09-17 [3] CRAN (R 4.0.2)
uuid 0.1-4 2020-02-26 [2] CRAN (R 4.0.3)
V8 3.3.1 2020-10-26 [2] CRAN (R 4.0.3)
vctrs 0.3.4 2020-08-29 [3] CRAN (R 4.0.2)
vizdraws * 1.0.2 2020-10-29 [2] Github (ignacio82/vizdraws@cd81fb5)
whisker 0.4 2019-08-28 [3] CRAN (R 4.0.0)
withr 2.3.0 2020-09-22 [1] CRAN (R 4.0.2)
xaringan 0.18 2020-10-21 [2] CRAN (R 4.0.3)
xaringanExtra * 0.2.4 2020-10-29 [1] local
xaringanthemer * 0.3.0 2020-05-04 [2] CRAN (R 4.0.3)
xfun 0.18 2020-09-29 [1] CRAN (R 4.0.2)
yaml 2.2.1 2020-02-01 [3] CRAN (R 4.0.0)
[1] /home/developer/R/x86_64-pc-linux-gnu-library/4.0
[2] /usr/local/lib/R/site-library
[3] /usr/lib/R/site-library
[4] /usr/lib/R/library
Warning message:
In system("timedatectl", intern = TRUE) :
running command 'timedatectl' had status 1
Hmmm, I'm not sure what's going on here, but I'd be surprised if it's unique to my package. Can you install other packages from GitHub? Worst case scenario you can download the repo zip file and install locally:
tmpfile <- tempfile(fileext = ".zip")
download.file("https://github.com/gadenbuie/xaringanExtra/archive/master.zip", tmpfile)
devtools::install_local(tmpfile)
I just tested this on a different computer and I can confirm that this is a problem with the particular machine that I was using. Thanks for the help and the great work!
Hi, apologies for reopening this issue as it is not specific to the package, but could I ask @ignacio82 if he figured out what caused this error on his machine? I've hit the same problem