How to avoid package errors causing project run failure

@claire our team has enjoyed utilizing several dbt packages, but recently one of them broke by our surprise since we hadn’t triggered/manipulated/updated anything related to the package. more specifically, it appeared more like an isolated bug/anomaly within the package itself. still, that error then caused our routine project run to fail so we were forced to remove the package entirely (fortunately we were only experimenting with the package, so its utilization was minimal).

that said, what would you suggest or recommend we do to safely install and use packages without the unpredictability of random errors?

any guidance is appreciated here. thanks!