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")
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: |
... | Other ingredients |
name | The name of the resulting food |
An object of class food
that prints its provenance in a nice
fashion.
Useful links:
peel(buy("carrots"))#> peeled carrots, made of #> raw carrots, bought at #> supermarketchopped_meat <- chop("raw_meat.csv") chopped_meat#> chopped meat, made of #> raw meatfry(chopped_meat, with = "vegetables")#> fried meat, made of #> chopped meat, made of #> raw meat #> vegetablescombine("diced cucumber", "cut tomatoes", name = "salad")#> salad, made of #> diced cucumber #> cut tomatoes