From 44b1e1dcd569d3e272b827de300245bcc7a4c23b Mon Sep 17 00:00:00 2001 From: Indrajeet Patil Date: Sun, 24 Sep 2023 12:31:50 +0200 Subject: [PATCH] use setup deps workflow --- .Rbuildignore | 2 ++ .github/workflows/bookdown.yaml | 4 +-- DESCRIPTION | 53 +++++++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+), 2 deletions(-) create mode 100644 DESCRIPTION diff --git a/.Rbuildignore b/.Rbuildignore index c503c4f..d325fbf 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -1 +1,3 @@ ^\.github$ +^.*\.Rproj$ +^\.Rproj\.user$ diff --git a/.github/workflows/bookdown.yaml b/.github/workflows/bookdown.yaml index d21de97..30c0d5b 100644 --- a/.github/workflows/bookdown.yaml +++ b/.github/workflows/bookdown.yaml @@ -32,7 +32,7 @@ jobs: with: use-public-rspm: true - - uses: r-lib/actions/setup-renv@v2 + - uses: r-lib/actions/setup-r-dependencies@v2 - name: Cache bookdown results uses: actions/cache@v3 @@ -47,7 +47,7 @@ jobs: - name: Deploy to GitHub pages 🚀 if: github.event_name != 'pull_request' - uses: JamesIves/github-pages-deploy-action@v4.4.1 + uses: JamesIves/github-pages-deploy-action@v4.4.3 with: branch: gh-pages folder: _book diff --git a/DESCRIPTION b/DESCRIPTION new file mode 100644 index 0000000..e69882a --- /dev/null +++ b/DESCRIPTION @@ -0,0 +1,53 @@ +Package: Advanced-R-exercises +Type: Book +Title: Solutions to exercises from Hadley Wickham's _Advanced R_ (2nd edition) +Version: 0.1.0 +Authors@R: + person(given = "Indrajeet", + family = "Patil", + role = c("cre", "aut"), + email = "patilindrajeet.science@gmail.com", + comment = c(ORCID = "0000-0003-1995-6531", Twitter = "@patilindrajeets")) +Description: This presentation summarizes my understanding of best practices in + naming things for software development. This is not a package, and the + DESCRIPTION file is included to make it easier to install required packages + in GitHub action workflows. +URL: https://github.com/IndrajeetPatil/Advanced-R-exercises +BugReports: https://github.com/IndrajeetPatil/Advanced-R-exercises/issues +Depends: + R (>= 4.1.0) +Imports: + bench, + dbplyr, + emo, + ggbeeswarm, + ggplot2, + lobstr, + memoise, + profvis, + Rcpp, + rlang, + RSQLite, + scales, + sloop, + testthat, + tidyr, + vctrs, + zeallot +Suggests: + bslib, + downlit, + bookdown, + desc, + jsonlite, + knitr, + png, + sessioninfo, + xml2 +Remotes: + hadley/emo +LazyData: false +License: CC0 1.0 Universal +Encoding: UTF-8 +Roxygen: list(markdown = TRUE) +RoxygenNote: 7.2.3.9000