Skip to content

Commit

Permalink
fix documentation of call and ANY
Browse files Browse the repository at this point in the history
  • Loading branch information
grlloyd committed Mar 21, 2024
1 parent f980554 commit 29df389
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: struct
Type: Package
Title: Statistics in R Using Class-based Templates
Version: 1.15.4
Version: 1.15.5
Authors@R: c(
person(
c("Gavin","Rhys"),
Expand Down
3 changes: 3 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
Changes 1.15.5
+ update automated documentation generation

Changes 1.15.2
+ add ellipsis to model methods

Expand Down
4 changes: 3 additions & 1 deletion R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,10 @@ get_description=function(id) {
cd = gsub('[a annotation_database]','annotation_database()',cd,fixed = TRUE)
cd = gsub('[a logical]','FALSE',cd,fixed = TRUE)
cd = gsub('[a data.frame]','data.frame(id=NA)',cd,fixed = TRUE)
str=c(str,eg,cd,'')
cd = gsub('[a call]','call("example")',cd,fixed = TRUE)
cd = gsub('[a ANY]','"ANY"',cd,fixed = TRUE)

str=c(str,eg,cd,'')

return(unlist(str))
}
Expand Down

0 comments on commit 29df389

Please sign in to comment.