Only recommend once (with list of affected files) when library(pkg) occurs.

Thanks to Hervé for the suggestion.