Skip to content

Commit d20d524

Browse files
committed
fix examples to....
- use correct assignment operator - use correct indentation
1 parent ac63e2f commit d20d524

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+447
-186
lines changed

R/zzz.R

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,13 @@ get_description <- function(id) {
8181
str <- gsub("data.frame(id=NA)","data.frame()",str,fixed = TRUE)
8282

8383
str <- gsub('>>','->' ,str)
84-
str <- strwrap(str,70)
84+
str <- gsub('M = ','M <- ',str)
85+
str <- gsub(' ',' ',str)
86+
w <- which(grepl('M <- ',str))
87+
if (length(w)>0){
88+
str <- c(strwrap(str[1:(w-1)],70),str[w:length(str)])
89+
}
90+
8591
return(str)
8692
}
8793

man/AnnotationDb_database.Rd

Lines changed: 5 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/AnnotationDb_select.Rd

Lines changed: 6 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/BiocFileCache_database.Rd

Lines changed: 9 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/CompoundDb_source.Rd

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/GO_database.Rd

Lines changed: 5 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/MTox700plus_database.Rd

Lines changed: 10 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/PathBank_metabolite_database.Rd

Lines changed: 10 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/add_columns.Rd

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/add_labels.Rd

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)