supp/TBKM-requirements/03-TBKM-helpers.R

library(TKCat)
library(here)

###############################################################################@
## Initialization ----
tbkm <- read_KMR(here("supp/TBKM-requirements/TBKM"))

###############################################################################@
## Read helpers ----
tbkm <- add_helpers(
   tbkm,
   code=here("supp/TBKM-requirements/Helpers/R-Helpers.R"),
   name="R-Helpers",
   language = "R"
)

###############################################################################@
## Save requirements ----
fp <- here("supp/TBKM-requirements/TBKM")
if(file.exists(fp)){
   file.rename(fp, here(sprintf("supp/TBKM-requirements/%s-TBKM", Sys.time())))
}
ftbkm <- as_fileMDB(tbkm, here("supp/TBKM-requirements/"), htmlModel=FALSE)
patzaw/TKCat documentation built on June 12, 2025, 11:04 a.m.