diff --git a/DESCRIPTION b/DESCRIPTION index 5824a5d3..d6e52ce3 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: golem Title: A Framework for Robust Shiny Applications -Version: 0.5.1.9003 +Version: 0.5.1.9004 Authors@R: c( person("Colin", "Fay", , "contact@colinfay.me", role = c("cre", "aut"), comment = c(ORCID = "0000-0001-7343-1846")), @@ -68,7 +68,6 @@ Suggests: VignetteBuilder: knitr Config/testthat/edition: 3 -Config/testthat/parallel: true Encoding: UTF-8 Language: en-US Roxygen: list(markdown = TRUE) diff --git a/NEWS.md b/NEWS.md index 27811516..ed3d8546 100644 --- a/NEWS.md +++ b/NEWS.md @@ -4,12 +4,18 @@ ## Breaking change -- Creating a `golem` doesn't use `set_here()` anymore. `here::here()` should be able to find its way based using `DESCRIPTION`. +- Creating a `golem` doesn't call `set_here()` nor `usethis::create_project()` anymore. It used to be because we wanted to be able to use `here::here()`, but the function should be able to find its way based using `DESCRIPTION`. It gives a lighter implementation of golem projects creation as it doesn't mess up with where `here()` is anymore. - The `add_*_files` and `use_*_files` now fail when: - The directory where the user tries to add the file doesn't exist. `{golem}` used to try to create the directory but that's not the function job — use_*_file functions should only be there to add file (Singe responsabily ) - The file that the user tries to create already exists +- Creating a golem with `create_golem(overwrite = TRUE)` will now __delete the old folder__ and replace with the golem skeleton. + +## Bug fix + +- Removing the comments on golem creation didn't work fully, this has been fixed. + ## Internal changes - Full refactoring of the `add_*_files` and `use_*_files` functions that now all share the same behavior