Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only export some functions #27

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: keedwell
Title: Latin Squares in R
Version: 0.1.1.9000
Version: 0.1.1.9001
Authors@R:
person("Matthew", "Henderson", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0001-7949-8208"))
Expand Down
9 changes: 0 additions & 9 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,3 @@

export(add_cols)
export(add_rows)
export(create_latin_square)
export(edge_tbl)
export(next_col_matching)
export(next_col_random)
export(next_row)
export(next_row_matching)
export(next_row_random)
export(to_tidygraph)
export(to_tidygraph_2)
15 changes: 0 additions & 15 deletions R/create-latin-square.R

This file was deleted.

1 change: 0 additions & 1 deletion R/edge-tbl.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#' @param l_order size of latin square R is going to be embedded into
#'
#' @return The edge data frame.
#' @export
edge_tbl <- function(R, i, l_order = 3) {

all_symbols <- 1:l_order
Expand Down
2 changes: 0 additions & 2 deletions R/next-col.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#' @param l_order dimension
#'
#' @return a latin rectangle with more columns
#' @export
next_col_matching <- function(R, i, l_order) {

n_rows <- max(R$row)
Expand Down Expand Up @@ -51,7 +50,6 @@ next_col_matching <- function(R, i, l_order) {
#' @param l_order dimension
#'
#' @return A latin rectangle with more columns
#' @export
next_col_random <- function(R, i, l_order) {

n_rows <- max(R$row)
Expand Down
3 changes: 0 additions & 3 deletions R/next-row.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#' @param l_order The order of the input latin square
#'
#' @return A bipartite graph.
#' @export
next_row <- function(R, l_order) {
bg <- to_tidygraph(R, l_order)

Expand Down Expand Up @@ -45,7 +44,6 @@ next_row <- function(R, l_order) {
#' @param l_order Order of R
#'
#' @return A latin square with more rows.
#' @export
next_row_random <- function(R, i, l_order) {

R |>
Expand Down Expand Up @@ -75,7 +73,6 @@ next_row_random <- function(R, i, l_order) {
#' @param l_order Order of R
#'
#' @return A latin rectangle with more rows.
#' @export
next_row_matching <- function(R, i, l_order) {
bg <- to_tidygraph(R, l_order)

Expand Down
2 changes: 0 additions & 2 deletions R/to-tidygraph.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#' @param l_order Order of R.
#'
#' @return A bipartite graph.
#' @export
to_tidygraph <- function(R, l_order = 3) {

## VERTEX DATA FRAME
Expand Down Expand Up @@ -40,7 +39,6 @@ to_tidygraph <- function(R, l_order = 3) {
#' @param n_cols Number of columns.
#'
#' @return A bipartite graph.
#' @export
to_tidygraph_2 <- function(R, l_order, n_rows, n_cols) {

## VERTEX DATA FRAME
Expand Down
19 changes: 0 additions & 19 deletions man/create_latin_square.Rd

This file was deleted.