Chopping, peeling, frying, and cooking various ingredients, and combining them to a delicious ragout. Also includes buying them from a local supermarket.

buy(what, from = supermarket())

supermarket()

peel(what, ...)

chop(what, ...)

fry(what, ...)

cook(what, ...)

combine(..., name = "ragout")

Arguments

what

Main ingredient. If it is the name of an existing file, the first line of the file is read

from

Where to buy the food, default: supermarket()

...

Other ingredients

name

The name of the resulting food

Value

An object of class food that prints its provenance in a nice fashion.

See also

Useful links:

Examples

peel(buy("carrots"))
#> peeled carrots, made of #> raw carrots, bought at #> supermarket
chopped_meat <- chop("raw_meat.csv") chopped_meat
#> chopped meat, made of #> raw meat
fry(chopped_meat, with = "vegetables")
#> fried meat, made of #> chopped meat, made of #> raw meat #> vegetables
combine("diced cucumber", "cut tomatoes", name = "salad")
#> salad, made of #> diced cucumber #> cut tomatoes