Skip to content

Commit

Permalink
Update create_project.R
Browse files Browse the repository at this point in the history
  • Loading branch information
ddsjoberg committed Jun 30, 2021
1 parent 6fb8385 commit f1f8b62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/create_project.R
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ create_project <- function(path, path_data = NULL, template = "default",
# if user added a path to a script, run it -----------------------------------
if (!is.null(attr(template, "script_path"))) {
ui_done("Sourcing template script")
source(file = attr(template, "script_path"))
source(file = attr(template, "script_path"), local = rlang::current_env())
}

# finishing up ---------------------------------------------------------------
Expand Down Expand Up @@ -224,7 +224,7 @@ writing_files_folders <- function(selected_template, path,
# creating the base project folder -------------------------------------------
if (!dir.exists(path)) {
fs::dir_create(path, recurse = TRUE)
ui_done("Creating {ui_path(path)}")
ui_done("Writing folder {ui_path(path)}")
}

# symbolic link text ----------------------------------------------------------
Expand Down

0 comments on commit f1f8b62

Please sign in to comment.