prints output when package install or tests fail.
moves report code into new file.