use_here: Use the 'here' package when writing stashes to file...

View source: R/use_here.R

use_hereR Documentation

Use the 'here' package when writing stashes to file (deprecated)

Description

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.

Usage

use_here(silent = FALSE)

Arguments

silent

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

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.

Value

Returns NULL (invisibly).

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()

jhrcook/mustashe documentation built on Oct. 13, 2022, 3:37 p.m.