usethis (version 1.2.0)

use_r: Create a new R file

Description

Create a new R file

Usage

use_r(name = NULL)

Arguments

name

File name, without extension; will create if it doesn't already exist. If not specified, and you're currently in a test file, will guess name based on test name.

See Also

use_test()