Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
R.Rproj
README.md
full.png
raw_carrots.txt
raw_meat.txt
raw_potatoes.txt
remake.yml

README.md

Where to buy?

  1. Start an R session in this directory (04-supermarket)

    • RStudio users, open the *.Rproj file in this directory
  2. Build the project:

    remake::make()
  3. Fetch the ragout:

    remake::fetch("ragout")
  4. Add rules to buy the raw ingredients from the supermarket, instead of reading them from a file:

    new rules

    • Use the call buy(I("carrots")) to buy carrots

    • Define the raw_potatoes target to be the result of buying potatoes from the supermarket

    • Consider buying the meat at the butcher's instead

      • buy(I("meat"), I("the butcher's"))
    • Use the new targets instead of the input .txt filenames in the existing calls to chop() and peel()

  5. Build the project. Why is the meat not marinated anymore?

    • Hint: Fetch the intermediate target raw_meat