-
Start an R session in this directory (
02-spice
)- RStudio users, open the
*.Rproj
file in this directory
- RStudio users, open the
-
Build the project:
remake::make()
-
Fetch the ragout:
remake::fetch("ragout")
-
Modify
raw_meat.txt
in 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
cooking
package installed
- If nothing changes, check that you have the latest version of the
-
Fetch the ragout again. Has it changed?
-
Modify
raw_meat.txt
in 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_meat
target not rebuilt?- Hint: Run
cooking::chop("raw_meat.txt")
in your R session
- Hint: Run
-
-
Edit
remake.yml
to 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 has been archived by the owner on Dec 29, 2019. It is now read-only.
02-spice
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||