diff --git a/.github/automatic-issues/images-checklist.md b/.github/automatic-issues/images-checklist.md
index 878c08f1..f5b0fd18 100644
--- a/.github/automatic-issues/images-checklist.md
+++ b/.github/automatic-issues/images-checklist.md
@@ -12,7 +12,7 @@ See [Setting Up Images and Graphics](https://github.com/jhudsl/OTTR_Template/wik
- [ ] The color palette choices of the slide are contrasted in a way that is friendly to those with color vision deficiencies.
You can check this using [Color Oracle](https://colororacle.org/).
-- [ ] Every image is [inserted into the text](https://github.com/jhudsl/OTTR_Template/wiki/Setting-up-images-and-graphics#adding-images-and-graphics-in-text) using one of these options: `ottr::include_slide()`, `knitr::include_image()`, or this format: `
`.
+- [ ] Every image is [inserted into the text](https://github.com/jhudsl/OTTR_Template/wiki/Setting-up-images-and-graphics#adding-images-and-graphics-in-text) using one of these options: `ottrpal::include_slide()`, `knitr::include_image()`, or this format: `
`.
- [ ] Every image has [alternative text added to it](https://github.com/jhudsl/OTTR_Template/wiki/Setting-up-images-and-graphics#adding-images-and-graphics-in-text).
@@ -20,6 +20,6 @@ You can check this using [Color Oracle](https://colororacle.org/).
`````
```{r, include = FALSE}
-ottr::set_knitr_image_path()
+ottrpal::set_knitr_image_path()
```
`````
diff --git a/.github/automatic-issues/update-enrollment.md b/.github/automatic-issues/update-enrollment.md
index e5c42f29..7e6ade81 100644
--- a/.github/automatic-issues/update-enrollment.md
+++ b/.github/automatic-issues/update-enrollment.md
@@ -4,6 +4,6 @@ We are working on adding more features and smoothing out bugs as we go.
If you want to receive updates from the original template to your course template, you will need to enroll this repository to the template updates by adding it to the `sync.yml` file.
-- [ ] [Follow these instructions](https://github.com/jhudsl/OTTR_Template/wiki/Start-a-new-course#10-enroll-your-repository-for-ottr-updates) to enroll your course repository to receive these updates.
+- [ ] [Follow these instructions](https://github.com/jhudsl/OTTR_Template/wiki/Start-a-new-course#10-enroll-your-repository-for-ottrpal-updates) to enroll your course repository to receive these updates.
- [ ] [Ensure that you have followed these instructions](https://github.com/jhudsl/OTTR_Template/wiki/Start-a-new-course#5-add-jhudsl-robot-as-a-collaborator) to add the `jhudsl-robot` as a collaborator to your repository.
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml
index ded926b1..1f87fd2f 100644
--- a/.github/workflows/pull_request.yml
+++ b/.github/workflows/pull_request.yml
@@ -232,7 +232,7 @@ jobs:
- name: Run quiz check
id: quiz_check_run
run: |
- Rscript -e "ottr::check_quizzes(quiz_dir = 'quizzes', write_report = TRUE, verbose = TRUE)"
+ Rscript -e "ottrpal::check_quizzes(quiz_dir = 'quizzes', write_report = TRUE, verbose = TRUE)"
results=0
if -f "question_error_report.tsv"; then
results=$(wc -l < question_error_report.tsv >/dev/null)
@@ -344,7 +344,7 @@ jobs:
# This job creates a shared scaffold for both.
- name: Run TOC-less version of render
id: tocless
- run: Rscript -e "ottr::render_without_toc()"
+ run: Rscript -e "ottrpal::render_without_toc()"
# This checks on the steps before it and makes sure that they completed.
# If the renders didn't complete we don't want to commit the file changes
diff --git a/.github/workflows/render-all.yml b/.github/workflows/render-all.yml
index ffdb0bc4..2eb7f894 100644
--- a/.github/workflows/render-all.yml
+++ b/.github/workflows/render-all.yml
@@ -102,7 +102,7 @@ jobs:
# This job creates a shared scaffold for both.
- name: Run TOC-less version of render
id: tocless
- run: Rscript -e "ottr::render_without_toc()"
+ run: Rscript -e "ottrpal::render_without_toc()"
# Commit the TOC-less version files
- name: Commit tocless bookdown files
@@ -118,7 +118,7 @@ jobs:
needs: [yaml-check, render-tocless]
runs-on: ubuntu-latest
container:
- image: jhudsl/ottr
+ image: jhudsl/ottrpal:main
if: ${{needs.yaml-check.outputs.toggle_leanpub == 'yes'}}
steps:
@@ -144,9 +144,9 @@ jobs:
- name: Delete old manuscript/
run: rm -rf manuscript/
- - name: Run ottr::bookdown_to_embed_leanpub
+ - name: Run ottrpal::bookdown_to_embed_leanpub
run: |
- Rscript -e "ottr::bookdown_to_embed_leanpub(
+ Rscript -e "ottrpal::bookdown_to_embed_leanpub(
render = FALSE, \
chapt_img_key = 'resources/chapt_screen_images/chapter_urls.tsv', \
make_book_txt = TRUE)"
@@ -184,7 +184,7 @@ jobs:
- name: Convert Leanpub quizzes to Coursera
if: needs.yaml-check.outputs.toggle_leanpub == 'yes'
id: coursera
- run: Rscript -e "ottr::convert_coursera_quizzes()"
+ run: Rscript -e "ottrpal::convert_coursera_quizzes()"
# Commit the rendered bookdown files
- name: Commit rendered Coursera files
diff --git a/.github/workflows/transfer-rendered-files.yml b/.github/workflows/transfer-rendered-files.yml
index 1ba9789f..f4e3e742 100644
--- a/.github/workflows/transfer-rendered-files.yml
+++ b/.github/workflows/transfer-rendered-files.yml
@@ -67,11 +67,11 @@ jobs:
signoff: false
branch: auto_copy_rendered_files
delete-branch: true
- title: 'GHA: Automated transfer of ottr-needed files from Bookdown repository'
+ title: 'GHA: Automated transfer of ottrpal-needed files from Bookdown repository'
body: |
### Description:
This PR was initiated by transfer-rendered.yml in the Bookdown repository.
- It copies over the ottr-needed folder (for the `bookdown_to_embed_leanpub(render = FALSE)` function
+ It copies over the ottrpal-needed folder (for the `bookdown_to_embed_leanpub(render = FALSE)` function
to run properly.
- resources/chapt_screen_images/*
labels: |
diff --git a/01-intro.Rmd b/01-intro.Rmd
index 37729286..db3952fc 100644
--- a/01-intro.Rmd
+++ b/01-intro.Rmd
@@ -1,6 +1,6 @@
```{r, include = FALSE}
-ottr::set_knitr_image_path()
+ottrpal::set_knitr_image_path()
```
# Introduction
diff --git a/02-chapter_of_course.Rmd b/02-chapter_of_course.Rmd
index eda218e8..8eebec15 100644
--- a/02-chapter_of_course.Rmd
+++ b/02-chapter_of_course.Rmd
@@ -6,9 +6,11 @@
Every chapter needs to start out with this chunk of code:
```{r, include = FALSE}
-ottr::set_knitr_image_path()
+ottrpal::set_knitr_image_path()
```
-
+blah
+blah blah
+qwerty
## Learning Objectives
*Every chapter also needs Learning objectives that will look like this:
@@ -63,10 +65,10 @@ dev.off()
### Image example
-How to include a Google slide. It's simplest to use the `ottr` package:
+How to include a Google slide. It's simplest to use the `ottrpal` package:
```{r, fig.align='center', echo = FALSE, fig.alt= "Major point!! example image"}
-ottr::include_slide("https://docs.google.com/presentation/d/1YmwKdIy9BeQ3EShgZhvtb3MgR8P6iDX4DfFD65W_gdQ/edit#slide=id.gcc4fbee202_0_141")
+ottrpal::include_slide("https://docs.google.com/presentation/d/1YmwKdIy9BeQ3EShgZhvtb3MgR8P6iDX4DfFD65W_gdQ/edit#slide=id.gcc4fbee202_0_141")
```
But if you have the slide or some other image locally downloaded you can also use html like this:
diff --git a/About.Rmd b/About.Rmd
index 3deb3ada..d3a91101 100644
--- a/About.Rmd
+++ b/About.Rmd
@@ -25,7 +25,7 @@ These credits are based on our [course contributors table guidelines](https://gi
|Template Publishing Engineers|[Candace Savonen], [Carrie Wright]|
|Publishing Maintenance Engineer|[Candace Savonen]|
|Technical Publishing Stylists|[Carrie Wright], [Candace Savonen]|
-|Package Developers ([ottr])|[John Muschelli], [Candace Savonen], [Carrie Wright]|
+|Package Developers ([ottrpal])|[John Muschelli], [Candace Savonen], [Carrie Wright]|
|**Art and Design**||
|Illustrator(s)| Created graphics for the course|
|Figure Artist(s)| Created figures/plots for course|
@@ -52,7 +52,7 @@ devtools::session_info()
-[ottr]: https://github.com/jhudsl/ottr
+[ottrpal]: https://github.com/jhudsl/ottrpal
-[ottr]: https://github.com/jhudsl/ottr
+[ottrpal]: https://github.com/jhudsl/ottrpal
-[ottr]: https://github.com/jhudsl/ottr
+[ottrpal]: https://github.com/jhudsl/ottrpal
-[ottr]: https://github.com/jhudsl/ottr
+[ottrpal]: https://github.com/jhudsl/ottrpal