Skip to content

Instantly share code, notes, and snippets.

@aurielfournier
Created January 28, 2016 03:02
Show Gist options
  • Select an option

  • Save aurielfournier/11bb9079750c008365c5 to your computer and use it in GitHub Desktop.

Select an option

Save aurielfournier/11bb9079750c008365c5 to your computer and use it in GitHub Desktop.
#' A Rails Function
#'
#' This function allows you to express your love of rails.
#' @param love Do you love rails? Defaults to TRUE.
#' @keywords rails
#' @export
#' @examples
#' rails_function()
rail_function <- function(love=TRUE){
if(love==TRUE){
print("I love rails!")
}
else {
print("I am not a cool person.")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment