Create or edit a .R file

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