Skip to content

Commit

Permalink
update test, version, changelog, docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lldelisle committed Feb 11, 2021
1 parent dec3f7f commit 171e38c
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 4 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
ChangeLog
=========

v0.1.5 (2021-02-11)
-------------------

Bug Fix:

* Fixed a bug in rVersionAbove

Improvements:

* New method for cornerMat


v0.1.4 (2020-06-08)
-------------------

Expand Down
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: usefulLDfunctions
Title: Functions That I Use Regularly
Version: 0.1.4
Version: 0.1.5
Authors@R:
person(given = "Lucille",
family = "Lopez-Delisle",
Expand All @@ -11,7 +11,7 @@ Description: Useful functions to do plots, manipulate bed files with headers etc
License: CC BY 4.0
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.1.0
RoxygenNote: 7.1.1
Imports:
stats,
grDevices,
Expand Down
4 changes: 3 additions & 1 deletion man/cornerMat.Rd

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

3 changes: 2 additions & 1 deletion tests/testthat/testBasicFunctions.R
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,9 @@ test_that("cornerMat gives expected results", {
expected <- matrix(rep(c(98, 99, 100), 3) +
rep(c(0, 100, 200), each = 3),
ncol = 3)
rownames(expected) <- c(" [98,]", " [99,]", "[100,]")
expect_equal(cornerMat(myHugeMatrix, 3, "bottomleft"), expected)
rownames(expected) <- c(" [98,]", " [99,]", "[100,]")
expect_equal(cornerMat(myHugeMatrix, 3, "bottomleft", method = "headtail"), expected)
mySmallMatrix <- matrix(1:9, nrow = 3)
expect_equal(cornerMat(mySmallMatrix), mySmallMatrix)
})

0 comments on commit 171e38c

Please sign in to comment.