Created
January 28, 2016 03:02
-
-
Save aurielfournier/11bb9079750c008365c5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #' 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