-
Start an R session in this directory (
02-spice)- RStudio users, open the
*.Rprojfile in this directory
- RStudio users, open the
-
Build the project:
remake::make()
-
Fetch the ragout:
remake::fetch("ragout")
-
Modify
raw_meat.txtin this directory- Change the contents to
<adjective> meat, e.g.,marinated meat
- Change the contents to
-
Build the project again. How has the output changed?
- If nothing changes, check that you have the latest version of the
cookingpackage installed
- If nothing changes, check that you have the latest version of the
-
Fetch the ragout again. Has it changed?
-
Modify
raw_meat.txtin this directory again- Add a second line with arbitrary contents, e.g.,
from supermarket
- Add a second line with arbitrary contents, e.g.,
-
Build the project again. How has the output changed?
-
Why is the
fried_meattarget not rebuilt?- Hint: Run
cooking::chop("raw_meat.txt")in your R session
- Hint: Run
-
-
Edit
remake.ymlto spice up the frying rule with any spice of your choice, like this:fried_meat: command: fry(chopped_meat, with = I(c("oil", "pepper"))) -
Build the project
-
Fetch the updated ragout:
remake::fetch("ragout")
What has changed?
This repository was archived by the owner on Dec 29, 2019. It is now read-only.
02-spice
Directory actions
More options
Directory actions
More options
02-spice
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||