Skip to content

Commit

Permalink
Fix missing closing parens in SomaScanObjects.R
Browse files Browse the repository at this point in the history
- fixes #40
  • Loading branch information
stufield committed Apr 28, 2023
1 parent c7d10ab commit 534692e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data-raw/SomaScanObjects.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ y <- ex_anno_tbl
z <- ex_target_names

# 'new'
example_data <- read_adat("example_data.adat")
example_data <- read_adat("example_data.adat") # download via wget
ex_analytes <- getAnalytes(example_data)
ex_anno_tbl <- getAnalyteInfo(example_data)
ex_target_names <- getTargetNames(ex_anno_tbl)
Expand All @@ -20,6 +20,6 @@ if ( !isTRUE(all.equal(data, example_data)) ) {
# 'save only if necessary'
if ( !all(isTRUE(all.equal(x, ex_analytes)),
isTRUE(all.equal(y, ex_anno_tbl)),
isTRUE(all.equal(z, ex_target_names))) {
isTRUE(all.equal(z, ex_target_names))) ) {
save(ex_analytes, ex_anno_tbl, ex_target_names, file = "data/data_objects.rda", compress = "xz")
}

0 comments on commit 534692e

Please sign in to comment.