Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ShixiangWang committed Jul 8, 2023
1 parent ef74c33 commit c0339c8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Version: 2.2.2
Date: 2023-07-07 13:39:20 UTC
SHA: f6999e60c14df9138d1aef5f8e55ed632d367d7b
Date: 2023-07-08 16:43:51 UTC
SHA: ef74c334a14ee94326db88e14621b798729319d0
2 changes: 2 additions & 0 deletions R/transform_seg_table.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#' @export
#'
#' @examples
#' \donttest{
#' load(system.file("extdata", "toy_copynumber.RData",
#' package = "sigminer", mustWork = TRUE
#' ))
Expand All @@ -17,6 +18,7 @@
#' # Compute the mean segVal in each half-cytoband
#' x2 <- transform_seg_table(cn, resolution_factor = 2)
#' x2
#' }
#' @testexamples
#' expect_is(x, "data.table")
#' expect_is(x2, "data.table")
Expand Down
2 changes: 2 additions & 0 deletions man/transform_seg_table.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

# File R/transform_seg_table.R: @testexamples

test_that("Function transform_seg_table() @ L23", {
test_that("Function transform_seg_table() @ L25", {


load(system.file("extdata", "toy_copynumber.RData",
package = "sigminer", mustWork = TRUE
Expand All @@ -13,6 +14,7 @@ test_that("Function transform_seg_table() @ L23", {
# Compute the mean segVal in each half-cytoband
x2 <- transform_seg_table(cn, resolution_factor = 2)
x2

expect_is(x, "data.table")
expect_is(x2, "data.table")
})
Expand Down

0 comments on commit c0339c8

Please sign in to comment.