Learn R Programming

covfefe (version 1.0.0)

covfefySentence: Covfefy any sentence.

Description

Calls covfefy() and uses rules to decide which, if any, word is covfefefied.

Usage

covfefySentence(
  sent = paste0("Despite the constant negative", " press coverage we are going ",
    "to Make America Great Again"),
  endSentence = TRUE
)

Arguments

sent

Character string of sentence to covfefy. Defaults to the famous tweet.

endSentence

Boolean where TRUE forces use of punctuation.

Examples

Run this code
covfefySentence(paste0("Despite the constant negative press coverage,",
                       "we are going to Make America Great Again"))

Run the code above in your browser using DataLab