Skip to content

Commit

Permalink
clone from github
Browse files Browse the repository at this point in the history
  • Loading branch information
yihui committed Aug 2, 2024
1 parent 970348d commit 6756590
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deps.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
if (getRversion() <= '3.1.3') for (m in c('wget', 'curl')) if (Sys.which(m) != '') {
options(download.file.method = m); break
}
install.packages(c("commonmark", "rbibutils"), repos = "https://cloud.r-project.org", INSTALL_opts = "--no-help")
install.packages("xfun", repos = "https://yihui.r-universe.dev")
install.packages(c('commonmark', 'rbibutils'), repos = 'https://cloud.r-project.org', INSTALL_opts = '--no-help')
system2('git', c('clone', '--depth=1', 'https://github.com/yihui/xfun'))
system2('R', c('CMD', 'INSTALL', 'xfun'))
unlink('xfun', recursive = TRUE)

0 comments on commit 6756590

Please sign in to comment.