Skip to contents

This function takes an R script and outputs a vector of function names that don't have return calls

Usage

return_checker(filename)

Arguments

filename

a character string which is a file name

Value

a vector of functions that are missing a return call

Examples

example_script("generic_script") |>
  return_checker()
#> character(0)