From 5677145a9b9a8879d700241627b93070db957e4b Mon Sep 17 00:00:00 2001 From: Sidharth Saluja <67796130+SidharthSaluja@users.noreply.github.com> Date: Fri, 14 Apr 2023 16:54:53 -0600 Subject: [PATCH 1/3] Update checkDate.sh --- shell_scripts/checkDate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell_scripts/checkDate.sh b/shell_scripts/checkDate.sh index d465b7d..ba2d553 100644 --- a/shell_scripts/checkDate.sh +++ b/shell_scripts/checkDate.sh @@ -3,7 +3,7 @@ current_date=$(date "+%m/%d/%Y") # Find tracked files in the posts directory with the .qmd extension -files=$(git ls-files --others --exclude-standard -- ./posts/*.qmd) +files=$(git ls-files --others --modified --exclude-standard -- ./posts/*.qmd) for file in $files; do if ! grep -q -E "date:\s+\"$current_date\"" "$file"; then From ed3eefc8362a8307854218afef68ff1c2b8e94f2 Mon Sep 17 00:00:00 2001 From: chester Date: Thu, 20 Apr 2023 13:31:14 -0700 Subject: [PATCH 2/3] Beta test --- posts/cyn_test.qmd | 65 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 posts/cyn_test.qmd diff --git a/posts/cyn_test.qmd b/posts/cyn_test.qmd new file mode 100644 index 0000000..4fbad99 --- /dev/null +++ b/posts/cyn_test.qmd @@ -0,0 +1,65 @@ +--- +title: "Blog Post Template" +author: "Cynthia Hester" +desription: "Something to describe what I did" +date: "04/20/2023" +format: + html: + toc: true + code-fold: true + code-copy: true + code-tools: true +categories: + - hw1 + - challenge1 + - my name + - dataset + - ggplot2 +--- + +```{r} +#| label: setup +#| warning: false + +library(tidyverse) + +knitr::opts_chunk$set(echo = TRUE) +``` + +## Instructions + +This document provides yaml header inforamtion you will need to replicate each week to submit your homework or other blog posts. Please observe the following conventions: + +- Save your own copy of this template as a blog post in the `posts` folder, naming it `FirstLast_hwX.qmd` +- Edit the yaml header to change your author name - use the same name each week +- include a *description* that is reader friendly +- update the *category* list to indicate the type of submission, the data used, the main packages or techniques, your name, or any thing else to make your document easy to find +- edit as a normal qmd/rmd file + + +```{r} +x <- c(2,3,4,5) +mean(x) +``` + +## Rendering your post + +When you click the **Render** button a document will be generated that includes both content and the output of embedded code. + +:::{.callout-warning} +Be sure that you have moved your `*.qmd` file into the `posts` folder **BEFORE** you render it, so that all files are stored in the correct location. +::: + +:::{.callout-important} +Only render a single file - don't try to render the whole website! +::: + +:::{.callout-note} +## Pilot Student Blogs + +We are piloting a workflow including individual student websites with direted and limited pull requests back to course blogs. Please let us know if you would like to participate. +::: + +## Reading in data files + +The easiest data source to use - at least initially - is to choose something easily accessible, either from our `_data` folder provided, or from an online source that is publicly available. From a06cd3b37e069788d9845be83e7e6ccb7baaffb6 Mon Sep 17 00:00:00 2001 From: chester Date: Thu, 20 Apr 2023 13:35:19 -0700 Subject: [PATCH 3/3] commit freeze --- _freeze/posts/cyn_test/execute-results/html.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 _freeze/posts/cyn_test/execute-results/html.json diff --git a/_freeze/posts/cyn_test/execute-results/html.json b/_freeze/posts/cyn_test/execute-results/html.json new file mode 100644 index 0000000..0d906e7 --- /dev/null +++ b/_freeze/posts/cyn_test/execute-results/html.json @@ -0,0 +1,14 @@ +{ + "hash": "0d3016bf9b43ff9ab4393825da8d4955", + "result": { + "markdown": "---\ntitle: \"Blog Post Template\"\nauthor: \"Cynthia Hester\"\ndesription: \"Something to describe what I did\"\ndate: \"04/20/2023\"\nformat:\n html:\n toc: true\n code-fold: true\n code-copy: true\n code-tools: true\ncategories:\n - hw1\n - challenge1\n - my name\n - dataset\n - ggplot2\n---\n\n::: {.cell}\n\n```{.r .cell-code}\nlibrary(tidyverse)\n\nknitr::opts_chunk$set(echo = TRUE)\n```\n:::\n\n\n## Instructions\n\nThis document provides yaml header inforamtion you will need to replicate each week to submit your homework or other blog posts. Please observe the following conventions:\n\n- Save your own copy of this template as a blog post in the `posts` folder, naming it `FirstLast_hwX.qmd`\n- Edit the yaml header to change your author name - use the same name each week\n- include a *description* that is reader friendly\n- update the *category* list to indicate the type of submission, the data used, the main packages or techniques, your name, or any thing else to make your document easy to find\n- edit as a normal qmd/rmd file\n\n\n\n::: {.cell}\n\n```{.r .cell-code}\nx <- c(2,3,4,5)\nmean(x)\n```\n\n::: {.cell-output .cell-output-stdout}\n```\n[1] 3.5\n```\n:::\n:::\n\n\n## Rendering your post\n\nWhen you click the **Render** button a document will be generated that includes both content and the output of embedded code.\n\n:::{.callout-warning}\nBe sure that you have moved your `*.qmd` file into the `posts` folder **BEFORE** you render it, so that all files are stored in the correct location.\n:::\n\n:::{.callout-important}\nOnly render a single file - don't try to render the whole website!\n:::\n\n:::{.callout-note}\n## Pilot Student Blogs\n\nWe are piloting a workflow including individual student websites with direted and limited pull requests back to course blogs. Please let us know if you would like to participate.\n:::\n\n## Reading in data files\n\nThe easiest data source to use - at least initially - is to choose something easily accessible, either from our `_data` folder provided, or from an online source that is publicly available.\n", + "supporting": [], + "filters": [ + "rmarkdown/pagebreak.lua" + ], + "includes": {}, + "engineDependencies": {}, + "preserve": {}, + "postProcess": true + } +}