inst/doc/epoxy-script.R

## ----include = FALSE----------------------------------------------------------
library(epoxy)

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

## -----------------------------------------------------------------------------
movie <- list(
	year = 1989,
	title = "Back to the Future Part II",
	budget = 4e+07
)

epoxy(
	"The movie {.titlecase movie$title}",
	"was released in {movie$year}",
	"and was filmed with a budget of",
	"{.dollar movie$budget}.",
	.sep = "\n"
)

Try the epoxy package in your browser

Any scripts or data that you put into this service are public.

epoxy documentation built on Sept. 20, 2023, 1:06 a.m.