R/stdin.R

Defines functions marryme

Documented in marryme

#' Standard input
#' @export
marryme <- function()
{
  ans <- readline("will you marry me? (y/n) > ")
  return(ans == "y")
}
kota7/rpacktest documentation built on May 20, 2019, 1:11 p.m.