diff --git a/NEWS.md b/NEWS.md index 82ba2b55..3f76d676 100644 --- a/NEWS.md +++ b/NEWS.md @@ -19,7 +19,7 @@ - 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 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 (Single responsibility) - 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. diff --git a/vignettes/d-js.Rmd b/vignettes/d-js.Rmd index a0d1292f..5c59a1d5 100644 --- a/vignettes/d-js.Rmd +++ b/vignettes/d-js.Rmd @@ -50,7 +50,7 @@ golem::invoke_js("showhref", "panel2") + `show` & `hide` show and hide elements, using the full jQuery selector. -+ `disable` & `reable` able and disable specific element, using the full jQuery selector. ++ `disable` & `reenable` enable and disable specific element, using the full jQuery selector. See `?golem::activate_js()` for the full list. diff --git a/vignettes/f-extending_golem.Rmd b/vignettes/f-extending_golem.Rmd index e0d3e6cf..9d6bbbbf 100644 --- a/vignettes/f-extending_golem.Rmd +++ b/vignettes/f-extending_golem.Rmd @@ -55,7 +55,7 @@ This will allow this function to be used inside the `{golem}` creation RStudio p ![](rstudioprojecthook.png) -> Note that inside this widget, the function should be explicitely namespaced (pkg::fun) +> Note that inside this widget, the function should be explicitly namespaced (pkg::fun) The `project_hook` function takes three mandatory parameters, which are passed from `create_golem`: @@ -206,7 +206,7 @@ From time to time, you need your application to be unavailable: database update, In order to keep your app running but make it unavailable, you can use a __maintenance mode__. When this maintenance mode is turned on, your application will be paused and a specific page will be displayed to your users. -`{golem}` comes with a default maintenance page, and you can replace it with you own page. +`{golem}` comes with a default maintenance page, and you can replace it with your own page. ### How to set the maintenance mode diff --git a/vignettes/g-contribute.Rmd b/vignettes/g-contribute.Rmd index 0ad91109..eaace866 100644 --- a/vignettes/g-contribute.Rmd +++ b/vignettes/g-contribute.Rmd @@ -42,7 +42,7 @@ If you want to contribute to the package, please note that the package is struct Golem package follows the `grkstyle` style guide. Please make sure to follow the same style when contributing to the package. -If your are using RStudio, you can set the `grkstyle` style guide as the default style guide for the package by running the following code: +If you are using RStudio, you can set the `grkstyle` style guide as the default style guide for the package by running the following code: ```{r eval=FALSE} options( @@ -50,7 +50,7 @@ options( ) ``` -If your are using VSCode, you can set the `grkstyle` style guide as the default style guide for the package by running the following code: +If you are using VSCode, you can set the `grkstyle` style guide as the default style guide for the package by running the following code: ```{r eval=FALSE} options(languageserver.formatting_style = function(options) {