Closed FilipePintoReis closed 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 ) }
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 ) }