Skip to content

Mlg#12

Open
mgaynor1 wants to merge 27 commits into
mainfrom
MLG
Open

Mlg#12
mgaynor1 wants to merge 27 commits into
mainfrom
MLG

Conversation

@mgaynor1

@mgaynor1 mgaynor1 commented Jul 2, 2026

Copy link
Copy Markdown
Member

Using the pull request to work through additions - do not merge.

Copilot AI review requested due to automatic review settings July 2, 2026 15:14

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces an automated Bookdown build/publish workflow and a script-to-Rmd conversion utility to generate workshop chapters from the Botany2026 R scripts, along with comment/header formatting updates across those scripts.

Changes:

  • Added convert_to_rmd.R to convert workshop .R scripts into Bookdown chapter .Rmd files.
  • Added Bookdown scaffolding (book/index.Rmd, book/_bookdown.yml) and a GitHub Actions workflow to build/publish the rendered book.
  • Standardized/cleaned top-of-file headers and section markers across several Botany2026 scripts.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
Botany2026/scripts/tools/convert_to_rmd.R New converter script intended to generate chapter Rmds from workshop scripts.
.github/workflows/build-book.yml New CI workflow to convert scripts, build Bookdown, and publish to a bookdown branch.
book/index.Rmd New Bookdown index/front-matter for the workshop book.
book/_bookdown.yml Bookdown configuration listing chapter file patterns.
Botany2026/scripts/00_Setup.R Header/section marker cleanup for setup/install script.
Botany2026/scripts/01_Data_Downloads.R Header/section marker cleanup for download script.
Botany2026/scripts/02_Data_Cleaning.R Header/section marker cleanup for cleaning script.
Botany2026/scripts/03_Data_Exploration.R Header/section marker cleanup; introduces some malformed section headers.
Botany2026/scripts/04_AccessibleArea_VariableSelection.R Header/section marker cleanup for climate processing/variable selection.
Botany2026/scripts/05_Ecological_Niche_Modeling.R Header/section marker cleanup for ENM modeling script.
Botany2026/scripts/06_Null_ENMs.R Header/section marker cleanup for null model script.
Botany2026/scripts/07_ENM_Processing.R Header/section marker cleanup for ENM processing script.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Botany2026/scripts/tools/convert_to_rmd.R
Comment thread book/index.Rmd
Comment thread .github/workflows/build-book.yml Outdated
Comment thread Botany2026/scripts/03_Data_Exploration.R Outdated
Comment thread Botany2026/scripts/03_Data_Exploration.R Outdated
Comment thread Botany2026/scripts/03_Data_Exploration.R Outdated
mgaynor1 and others added 2 commits July 2, 2026 11:24
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants