Created
July 30, 2024 08:09
-
-
Save russHyde/db19fb965c467d06ed65a2c00414e329 to your computer and use it in GitHub Desktop.
FIx advanced-shiny Rproj file paths
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for (i in 1:5) { | |
chapter <- paste0("chapter-", i) | |
path <- file.path("~", "advanced-concepts-in-shiny", "exercises", chapter, "question") | |
usethis::create_project(path = path, rstudio = TRUE, open = FALSE) | |
file.rename( | |
from = file.path(path, "question.Rproj"), | |
to = file.path(path, paste0("ch", i, "-question.Rproj")) | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment