Skip to content

Commit

Permalink
Prepare release (v0.1.0) (#30)
Browse files Browse the repository at this point in the history
* Add NEWS.md.

* Update version number.

* Import combn from utils.

* Fix formatting in NEWS.md.
  • Loading branch information
MHenderson authored Aug 20, 2024
1 parent b32f658 commit 631047f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: wallis
Title: Room squares in R
Version: 0.0.0.9007
Version: 0.1.0
Authors@R:
person("Matthew", "Henderson", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0001-7949-8208"))
Expand Down
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ export(n_filled_cells)
export(unused_pairs)
export(volume)
importFrom(R6,R6Class)
importFrom(utils,combn)
9 changes: 9 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# wallis (development version)

# wallis 0.1.0

* A new package containing functions for implementing greedy algorithms for constructing maximal partial Room squares.
* Functions for testing if squares are partial Room squares, Room squares or maximal partial Room squares.
* Functions for calculating the volume of partial Room squares.
* A Room R6 class provided as an alternative interface for algorithm implementation.
* Some convenient combinatorial functions for constructing sets of pairs.
2 changes: 2 additions & 0 deletions R/unused-pairs.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
#'
#' @return A list of pairs not used in R.
#' @export
#'
#' @importFrom utils combn
unused_pairs <- function(R, n) {

used_pairs <- R |> dplyr::select(first, second)
Expand Down

0 comments on commit 631047f

Please sign in to comment.