R/is_cpt4_reconstituted.R

Defines functions is_cpt4_reconstituted

is_cpt4_reconstituted <-
        function(path_to_csvs) {

                out <-
                "logs" %in%
                        list.dirs(path = path_to_csvs,
                                  full.names = FALSE)

                if (!(out)) {

                        cli::cli_alert_warning(text = "CPT4 has not been reconstituted. Folder `logs` not present.")


                }

                out



        }
patelm9/setupAthena documentation built on June 11, 2024, 4:23 a.m.