tmastny / leadr

https://tmastny.github.io/leadr/
MIT License
26 stars 2 forks source link

Allow non-root directories to save models. #12

Closed tmastny closed 6 years ago

tmastny commented 6 years ago

This affects to_list, which takes the directory name given in the leaderboard tibble. It can only find it if it is in the root directory.

tmastny commented 6 years ago

Note that board can save to non-root subdirectories just fine, as demonstrated in the directory unit tests: https://github.com/tmastny/leadr/blob/master/tests/testthat/test-aaa-directory.R#L18

Thinking this through, is this even an enhancement/bug? board saves the leaderboard path globally, and the model folders must be subdirectories of that path.

tmastny commented 6 years ago

The question is, how will leadr know where the directory is between sessions.