read_makefile | R Documentation |
Makefile
Into a Makelist
This is experimental! See Note.
read_makefile(path, clean_sink = FALSE)
path |
The path to the file. |
clean_sink |
Remove sinks identical to corresponding targets from the
list? Since |
The makelist
.
This function will not read arbitrary Makefiles
, just those
created via write_makefile
! If you modify such a
Makefile
make sure you only add simple rules like the ones you see in that file.
make_file <- file.path(tempdir(), "Makefile")
write_makefile(provide_make_list(), path = make_file)
str(make_list <- read_makefile(path = make_file))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.