Skip to content

Instantly share code, notes, and snippets.

View lebriggs's full-sized avatar

Laura Briggs lebriggs

View GitHub Profile
@lebriggs
lebriggs / gist:dc1036e923d321eb3853a924526332d9
Created August 4, 2024 01:30
Automated YAML Front Matter Updater For Markdown Files In R
# Title: Automated YAML Front Matter Updater For Markdown Files In R
# Author: L. E. Briggs
# Date: 03 August 2024
# Note:
# This is only the first draft of the script. Future updates will be forthcoming.
# Related blog post: https://lebriggs.com/blog/post_index/
# Overview:
# This R script updates the YAML front matter of Markdown files (.md and .Rmd) by:
@lebriggs
lebriggs / gist:736ff4f9afd5e133b6aaa4b76cabd53f
Created July 2, 2024 18:04
R Package Installation And Loading Script With Error Handling And Feedback
#Author: L. E. Briggs
#Date: 2 July 2024
# Overview:
# This script checks if the required R packages are already installed and installs them if missing, including all dependencies.
# It provides feedback on the status of each package installation and loading process.
# The code balances error handling with simplicity, making it easy to understand.
# I. Initial Set-up: Install and Load Required Packages with Basic Feedback