r {organizr} | R Documentation |
Quickly create and open files with consistent prefixes.
Description
r()
creates an R script.
py()
creates a Python script.
rmd()
creates an Rmarkdown document.
qmd()
creates a Quarto document.
Usage
r(
name,
prefix_by = c("count", "date"),
proj_path = here::here(),
open = rlang::is_interactive()
)
qmd(
name,
prefix_by = c("count", "date"),
proj_path = here::here(),
open = rlang::is_interactive()
)
rmd(
name,
prefix_by = c("count", "date"),
proj_path = here::here(),
open = rlang::is_interactive()
)
py(
name,
prefix_by = c("count", "date"),
proj_path = here::here(),
open = rlang::is_interactive()
)
Arguments
name |
A character string; name of the script. |
prefix_by |
Which prefix to use. Can be |
proj_path |
Project path. |
open |
If |
Details
Orgnizr allows you to set some global options. See https://github.com/jobrachem/organizr for details.
Value
The filepath as a character string.
[Package organizr version 0.1.0 Index]