knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

This is a package that prints "one!" if the input is 1
if the input is not a number it will print "not a number!"
if the input is a number but not 1, it will print "not 1!"



NickTheFox/Coursera documentation built on May 21, 2019, 9:19 a.m.