Skip to content

get0 function does not work if library("CodelistGenerator") has not been used #237

@catalamarti

Description

@catalamarti

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions