Open aaronpeikert opened 4 years ago
Your git name is changed?
Not only mine it seems (but also andreas and maybe even yours) are changed to yourname
It is either code in the examples or in the tests...
Because I changed it already 4 times back...
https://github.com/cjvanlissa/worcs/blob/0ffe84374adba3fb2558311a210565d3f72bf6f8/tests/testthat/test-export_project.R#L18-L19
For 1., I've created worcs:::get_credentials()
, which can be used with git_credentials()
to set either the user credentials or default credentials in tests. This way, the tests pass both locally and remotely, and they don't replace the git signature.
For 3., the function testthat::capture_output()
is used.
Wow. Great, shall I tackle 2.?
Yes, if you can? Because I cannot reproduce the problem
@aaronpeikert can you confirm that all tests are now clean?
I still get a bunch of files in the test dir, while I would want to fix that someday, it is irrelevant for the new release.
But my git setup remained unchanged.
there are some side effects of the test
test/testhat/
dir