Skip to content

Commit

Permalink
fix NOTES raised by new R-devel release
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakob Bossek committed Feb 6, 2024
1 parent 113e1aa commit df6dfa3
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Description: Methods for the generation of a wide range of network geographies,
e.g., grid networks or clustered networks. Useful for the generation of
benchmarking instances for the investigation of, e.g., Vehicle-Routing-Problems
or Travelling Salesperson Problems.
Version: 1.3.2
Date: 2020-01-08
Version: 1.4.0
Date: 2023-02-06
Authors@R: c(person("Jakob", "Bossek", email = "[email protected]", role =
c("aut", "cre")))
Maintainer: Jakob Bossek <[email protected]>
Expand All @@ -26,6 +26,6 @@ Suggests:
testthat,
lpSolve,
covr
LazyData: yes
ByteCompile: yes
RoxygenNote: 7.1.1
RoxygenNote: 7.3.0
Encoding: UTF-8
2 changes: 1 addition & 1 deletion NEWS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
netgen v1.4.xxxx (Release data: xxxx-xx-xx):
netgen v1.4.0 (Release data: xxxx-xx-xx):
===========

* Networks now have additional optional slots opt.tour.length and opt.tour for
Expand Down
2 changes: 1 addition & 1 deletion R/exportToTSPlibFormat.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#' Use the \dQuote{extended tsplib format} with additional information like cluster
#' membership and bounds? Default is \code{TRUE}.
#' @param full.matrix [\code{logical(1)}]\cr
#' Make use of \dQuote{FULL\_MATRIX} \dQuote{EDGE\_WEIGHT\_FORMAT} instead of
#' Make use of \dQuote{FULL_MATRIX} \dQuote{EDGE_WEIGHT_FORMAT} instead of
#' node coordinates?
#' Default is \code{FALSE}.
#' @param digits [\code{integer(1)}]\cr
Expand Down
2 changes: 1 addition & 1 deletion R/generateClusterCenters.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# Cluster center matrix. Each row contains the coordinates of one cluster center.
generateClusterCenters = function(
n.cluster = 5L, n.dims = 2L,
generator = lhs:::maximinLHS,
generator = lhs::maximinLHS,
lower = 0, upper = 1) {
# FIXME: introduce use of min.dist.to.bounds
cc = generator(n.cluster, n.dims)
Expand Down
4 changes: 2 additions & 2 deletions R/makeNetwork.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
#' @param edge.weight.type [\code{character(1)} | \code{NULL}]
#' The edge weight type indicates how edge weights are represented in the TSPlib
#' format. If \code{distance.matrix} is \code{NULL}, the passed value is ignored
#' and EUC\_2D is assigned. Otherwise the edge weight type must be one of the
#' following \code{{EUC\_2D, EUC\_3D, MAX\_2D, MAX\_3D, MAN\_2D, MAN\_3D, CEIL\_2D,
#' and EUC_2D is assigned. Otherwise the edge weight type must be one of the
#' following \code{{EUC_2D, EUC_3D, MAX_2D, MAX_3D, MAN_2D, MAN_3D, CEIL_2D,
#' GEO, ATT, EXPLICIT}}.
#' @param node.weights [\code{numeric}]\cr
#' Vector of node weights (for weighted version of TSP). Default is \code{NULL},
Expand Down
2 changes: 1 addition & 1 deletion man/exportToTSPlibFormat.Rd

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

4 changes: 2 additions & 2 deletions man/makeNetwork.Rd

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

0 comments on commit df6dfa3

Please sign in to comment.