Create or edit a .R file
use_r(name = NULL)
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.
use_test(), and also the R code chapter of R Packages.