I need to think about testing across different board types in vetiver. The pins package is tested very extensively across all the backends but vetiver does not, and here it is the code that vetiver ran that was the problem. I could probably get away with mocking vetiver_pin_read() in such tests to avoid needing to call S3 like pins CI does.
To get this to work, I need to export new_board() from pins. Then I can mock creating boards like board_s3() and board_url() and write tests to make sure that the code in vetiver behaves as expected.
In #257 I wrote:
To get this to work, I need to export
new_board()
from pins. Then I can mock creating boards likeboard_s3()
andboard_url()
and write tests to make sure that the code in vetiver behaves as expected.