Skip to content

Commit

Permalink
Merge pull request #1 from robitalec/fix/rm-CSEE-specific
Browse files Browse the repository at this point in the history
Fix/rm CSEE specific
  • Loading branch information
robitalec authored Apr 19, 2024
2 parents d782d30 + cd66235 commit 7c6d953
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 16 deletions.
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@
^quarto\.yml$
^_targets\.R$
^index\.qmd$
^.*\.Rproj$
^\.Rproj\.user$
4 changes: 1 addition & 3 deletions .github/workflows/quarto-render-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
release:
types: [published]
workflow_dispatch:
Expand Down Expand Up @@ -50,4 +48,4 @@ jobs:
- uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages
render: false
render: false
8 changes: 4 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: CSEE.reproducible.workflows.workshop
Title: Workshop for CSEE 2023 On Reproducible Workflows In R
Version: 0.0.0.9000
Package: reproducible.workflows.workshop
Title: Reproducible Workflows Workshop
Version: 0.0.1
Authors@R:
c(person(given = "Alec L.",
family = "Robitaille",
Expand All @@ -16,7 +16,7 @@ License: GPL-3
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.3
URL: https://github.com/robitalec/2023-CSEE-reproducible-workflows-workshop, https://robitalec.github.io/2023-CSEE-reproducible-workflows-workshop
URL: https://github.com/robitalec/reproducible-workflows-workshop, https://robitalec.github.io/reproducible-workflows-workshop
Depends: R (>= 4.0)
Imports: targets,
tarchetypes,
Expand Down
8 changes: 8 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# v0.0.0.9000

Initial workshop delivered at CSEE 2023, coauthored with @icrichmond

https://github.com/robitalec/2023-CSEE-reproducible-workflows-workshop


**Full Changelog**: https://github.com/robitalec/reproducible-workflows-workshop/commits/v0.0.0.9000
2 changes: 1 addition & 1 deletion R/packages.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ library(conflicted)
library(palmerpenguins)
library(visNetwork)
library(quarto)

library(usethis)
library(fs)
library(parameters)

Expand Down
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Reproducible workflows workshop

Workshop at [CSEE 2023](https://www.beepeg2023.ca/): developing a reproducible workflow in R using functions, {targets} and {renv}
## Developing a reproducible workflow in R using functions, {targets} and {renv}

Developed and delivered by:
Originally developed for a
[workshop](https://github.com/robitalec/2023-CSEE-reproducible-workflows-workshop)
at [CSEE 2023](https://www.beepeg2023.ca/) by:

- Alec L. Robitaille (Memorial University of Newfoundland and Labrador)
- Isabella C. Richmond (Concordia University)
Expand Down Expand Up @@ -120,11 +122,11 @@ library(usethis)

# (Set your own destination directory)
use_course(
'https://github.com/robitalec/2023-CSEE-reproducible-workflows-workshop/archive/refs/heads/participant.zip',
'https://github.com/robitalec/reproducible-workflows-workshop/archive/refs/heads/participant.zip',
destdir = '~/Documents')
```

Or by downloading and unziping the ZIP file at this link: <https://github.com/robitalec/2023-CSEE-reproducible-workflows-workshop/archive/refs/heads/participant.zip>.
Or by downloading and unziping the ZIP file at this link: <https://github.com/robitalec/reproducible-workflows-workshop/archive/refs/heads/participant.zip>.

Then open up the RStudio project.

Expand Down Expand Up @@ -223,5 +225,5 @@ Link to data (CSV):

## LICENSE

This project is released under the GNU General Public License v3.0. Read it [here](https://github.com/robitalec/2023-CSEE-reproducible-workflows-workshop/blob/quarto/devel/LICENSE).
This project is released under the GNU General Public License v3.0. Read it [here](https://github.com/robitalec/reproducible-workflows-workshop/blob/quarto/devel/LICENSE).

4 changes: 2 additions & 2 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ project:
- "!paper/manuscript.qmd"

website:
title: "2023 CSEE Reproducible workflows workshop"
title: "Reproducible workflows workshop"

sidebar:
tools:
- icon: github
href: https://github.com/robitalec/2023-CSEE-reproducible-workflows-workshop
href: https://github.com/robitalec/reproducible-workflows-workshop
contents:
- text: "Home"
file: index.qmd
Expand Down
2 changes: 1 addition & 1 deletion exercises/projects.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ We are going to practice setting up an RStudio Project to get oriented with the
2. Click on the drop-down menu and select the first option: "New Project..."
- Alternatively, navigate to the top left corner, click "File", and then click "New Project..."
3. Select "New Directory", then "New Project"
4. Name the directory "2023-CSEE-workshop-projects" and navigate to the subdirectory in your computer where you want the folder to appear
4. Name the directory "reproducible-workflows-workshop" and navigate to the subdirectory in your computer where you want the folder to appear
5. Minimize RStudio and using your file navigation system, navigate to the place on the computer where your project is saved (e.g., Downloads)
6. Open the folder (you should see one file in there, an .Rproj file with the name you gave the folder)
- Create five folders within your project folder:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ RnwWeave: Sweave
LaTeX: pdfLaTeX

StripTrailingWhitespace: Yes

BuildType: Package
PackageUseDevtools: Yes
PackageInstallArgs: --no-multiarch --with-keep.source

0 comments on commit 7c6d953

Please sign in to comment.