R/hello_world.R

Defines functions hello_world

Documented in hello_world

# Hello, world!
#
# This is an example function named 'hello'
# which prints 'Hello, world!'.
#
# You can learn more about package authoring with RStudio at:
#
#   http://r-pkgs.had.co.nz/
#
# Some useful keyboard shortcuts for package authoring:
#
#   Install Package:           'Ctrl + Shift + B'
#   Check Package:             'Ctrl + Shift + E'
#   Test Package:              'Ctrl + Shift + T'


#' @title Say Hello
#'
#' @description Creates a string with hello word
#'
#' @param name A string
#' @return a string

hello_world <- function(name) {
  res <- "hello "+name
  return(res)
}
Grelot/rgeogendiv documentation built on Dec. 22, 2020, 5:51 a.m.