From d62c3f2e3cdfd6caefd29dfc55e8dcfc925a6c01 Mon Sep 17 00:00:00 2001 From: Jenny Bryan Date: Tue, 21 Jun 2022 09:46:23 -0700 Subject: [PATCH] More fixes --- usage-existing-project-github-first.Rmd | 3 ++- usage-new-project-github-first.Rmd | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/usage-existing-project-github-first.Rmd b/usage-existing-project-github-first.Rmd index c86e317..d58552b 100644 --- a/usage-existing-project-github-first.Rmd +++ b/usage-existing-project-github-first.Rmd @@ -38,7 +38,8 @@ cat(res, sep = '\n') ## New RStudio Project via git clone ```{r echo = FALSE, results = "asis"} -text <- readr::read_file("child-clone-a-github-repo.Rmd") +insert <- readr::read_file("child-clone-a-github-repo.Rmd") +res <- knitr::knit_child(text = insert, quiet = TRUE) cat(res, sep = '\n') ``` diff --git a/usage-new-project-github-first.Rmd b/usage-new-project-github-first.Rmd index 635d602..e26e59e 100644 --- a/usage-new-project-github-first.Rmd +++ b/usage-new-project-github-first.Rmd @@ -64,7 +64,8 @@ Make sure you remove the `git clone ...` that shows up at the beginning. ## New RStudio Project via git clone {#new-rstudio-project-via-git} ```{r echo = FALSE, results = "asis"} -text <- readr::read_file("child-create-a-github-repo.Rmd") +insert <- readr::read_file("child-clone-a-github-repo.Rmd") +res <- knitr::knit_child(text = insert, quiet = TRUE) cat(res, sep = '\n') ```