UBC-MDS / labzenr

A package to help MDS students better manage their lab assignments.
https://ubc-mds.github.io/labzenr
Other
0 stars 3 forks source link

Use the notebook path to locate the repo #34

Closed rtaph closed 3 years ago

rtaph commented 3 years ago

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 "."

rtaph commented 3 years ago

Done via gert.