diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index e65f430..9ca77b1 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -7,6 +7,11 @@ on: jobs: update-r: + permissions: + contents: write + id-token: write + issues: write + pull-requests: write runs-on: ubuntu-latest steps: - name: Checkout repository @@ -16,7 +21,6 @@ jobs: - name: Update flake.lock uses: DeterminateSystems/update-flake-lock@v27 with: - token: ${{ secrets.GH_TOKEN_FOR_UPDATES }} branch: update_cran_date pr-title: "Update CRAN date" pr-labels: | diff --git a/00-Preliminaries.Rmd b/00-Preliminaries.Rmd index a38641d..8b3ac14 100644 --- a/00-Preliminaries.Rmd +++ b/00-Preliminaries.Rmd @@ -365,7 +365,7 @@ ggplot(data_1) + geom_path(aes(x=reorder(x, y2),y=y2), color="steelblue", size = 1, linetype = "dashed", group = 1) + geom_segment(aes(x="post",y=data_1$y2[3], xend="post", yend=data_1$y3[3]),size=1, color="darkmagenta", arrow = arrow(length = unit(0.1, "inches"))) + geom_segment(aes(x="post",y=data_1$y3[3], xend="post", yend=data_1$y2[3]),size=1, color="darkmagenta", arrow = arrow(length = unit(0.1, "inches"))) + - annotate("text", x = 3.1, y = (data_1$y3[3]+data_1$y2[3])/2, label = expression(Delta), size = 5, color = "darkmagenta") + + annotate("text", x = 3.1, y = (y3[3]+y2[3])/2, label = "Delta", parse = TRUE, size = 5, color = "darkmagenta") + geom_vline(xintercept = (1.5+2.5)/2, col='grey', lwd=1,linetype="dotted") + #annotate("text", x = 1.59, y = 0.5, label = "Intervention", size = 3) + annotate("text", x = 3.13, y = data_1$y3[3], label = "Yt,post", size = 3) +