Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion vignettes/d-js.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should stay reable


See `?golem::activate_js()` for the full list.

Expand Down
4 changes: 2 additions & 2 deletions vignettes/f-extending_golem.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -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`:

Expand Down Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions vignettes/g-contribute.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ 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(
styler.addins_style_transformer = "grkstyle::grk_style_transformer()"
)
```

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) {
Expand Down