If non-null, we should use the notebook argument with gert::git_find() so that our function will correctly work if not in the same working directory. For example, we want to be able to do
check_mechanics( "../../554_exp/lab2/lab2.Rmd")
And have the repo be set to "../../554_exp/lab2/", not "."
If non-null, we should use the
notebook
argument withgert::git_find()
so that our function will correctly work if not in the same working directory. For example, we want to be able to doAnd have the repo be set to
"../../554_exp/lab2/"
, not"."