if (FALSE) {
### Path in the package with example COMPLECS
exampleCOMPLECS <-
system.file(
"extdata",
"COMPLECS-spec-example.xlsx",
package = "behaviorchange"
);
behaviorchange::complecs_to_precede(
exampleCOMPLECS
);
### Loading that COMPLECS from a google sheet - but note that
### this requires an internet connection!
behaviorchange::complecs_to_precede(
paste0(
"https://docs.google.com/spreadsheets/d/",
"1WMO15xroy4a0RfpuZ8GhT-NfDoxwS34w9PrWp8rGjjk"
)
);
}
Run the code above in your browser using DataLab