NOT_CRAN <- !identical(tolower(Sys.getenv("NOT_CRAN")), "true")
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  purl = NOT_CRAN,
  eval = NOT_CRAN
)

In this awesome fake package there's a real function for saying hi! Here is how it works.

library("fakepackage")
say_hi("Luca")

We can also say hi to someone else if we want!

say_hi("Santa!")


maelle/fakepackage documentation built on May 6, 2019, 6:03 p.m.