FilipePintoReis / KARS_project

Apache License 2.0
0 stars 0 forks source link

Look into how other people enforce packages to be installed and loaded. #15

Closed FilipePintoReis closed 2 years ago

balima78 commented 2 years ago

on DESCRITION file add packages to 'Imports:';

we can also add if clauses within functions: if (!requireNamespace("dplyr", quietly = TRUE)) { stop( "Package \"dplyr\" must be installed to use this function.", call. = FALSE ) }