Skip to content

Commit 5262198

Browse files
committed
rename functions
due to changes in rols package
1 parent ba346fa commit 5262198

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: struct
22
Type: Package
33
Title: Statistics in R Using Class-based Templates
4-
Version: 1.22.0
4+
Version: 1.22.1
55
Authors@R: c(
66
person(
77
c("Gavin","Rhys"),
@@ -50,7 +50,7 @@ Collate:
5050
'struct-package.R'
5151
'struct_templates.R'
5252
'zzz.R'
53-
RoxygenNote: 7.3.1
53+
RoxygenNote: 7.3.3
5454
Depends: R (>= 4.0)
5555
Suggests:
5656
testthat,

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
Changes 1.22.1
2+
+ fix renamed functions in rols
3+
14
Changes 1.15.6
25
+ fix broken tests
36

R/ontology_term_class.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ ontology_term = function(
4141
if (length(label)==0 | length(description)==0 | length(iri)==0 | length(ontology)==0) {
4242

4343
# do rols query
44-
db=rols::Ontology(ontology)
45-
tm=rols::Term(db,id)
44+
db=rols::olsOntology(ontology)
45+
tm=rols::olsTerm(db,id)
4646

4747
label=rols::termLabel(tm)
4848
description=rols::termDesc(tm)

0 commit comments

Comments
 (0)