Sets an option that tells stash() to write the stashed objects to a path created using the here::here() function from the 'here' package: "The 'here' package creates paths relative to the top-level directory." It is particularly useful when using an RStudio project.

use_here(silent = FALSE)

Arguments

silent

A logical to silence the message from the function. (default FALSE)

Value

Returns NULL (invisibly).

Details

Add mustashe::use_here(silent = TRUE) to your '.Rprofile' or setup code block in an R Markdown to set this feature automatically in the future.

Note

This function has been deprecated and the use of the 'here' function should instead be set using config_mustashe(use_here = TRUE).

Examples

use_here()
#> The global option "mustashe.here" has been set `TRUE`.
#> Add `mustashe::use_here(silent = TRUE)` to you're '.Rprofile'
#>   to have it set automatically in the future.
#> Warning: This function is deprecated. Use `config_mustashe(use_here = TRUE/FALSE` instead.