This does not work:
get0("doseFormToRoute", envir = asNamespace("CodelistGenerator"))
this works:
library("CodelistGenerator")
get0("doseFormToRoute", envir = asNamespace("CodelistGenerator"))
It affects the functions:
- getRouteCategories
- stratifyByRouteCategory
- subsetOnRouteCategory
They would not work if library is not called explicitly.
thanks to @xihang-chen