Skip to content

Instantly share code, notes, and snippets.

@trinker
Created March 20, 2017 17:51
Show Gist options
  • Select an option

  • Save trinker/55ca6f88ea4e8b3e25c57010493c8754 to your computer and use it in GitHub Desktop.

Select an option

Save trinker/55ca6f88ea4e8b3e25c57010493c8754 to your computer and use it in GitHub Desktop.
Extract functions from file
tmp <- getParseData(parse("FILE_NAME_HERE.R", keep.source=TRUE))
dplyr::filter(tmp, token=="SYMBOL_FUNCTION_CALL")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment