fix examples that should not run to work with R CMD check
add basic phx_report function