ontoDir <- system.file("extdata", "crops.rds", package = "ontologics")
onto <- load_ontology(path = ontoDir)
onto <- new_class(new = "use type", target = "class", description = "something",
ontology = onto)
Run the code above in your browser using DataLab