prioritizr / prioritizr

# Compare  73e98cf ... +0 ... 8dd4040 

Showing 15 of 79 files from the diff.
R/zones.R changed.
R/solve.R changed.
Other files ignored by Codecov
docs/pkgdown.yml has changed.
man/solve.Rd has changed.
man/zones.Rd has changed.

@@ -4,7 +4,7 @@
 4 4 #' Category vector 5 5 #' 6 6 #' Convert an object containing binary (integer) fields (columns) into a 7 - #' integer vector indicating the column index where each row is 7 + #' integer vector indicating the column index where each row is 8 8 #' 1. 9 9 #' 10 10 #' @param x matrix, data.frame, [Spatial-class],
@@ -15,7 +15,7 @@
 15 15 #' value of zero. Also, note that in the argument to x, each row must 16 16 #' contain only a single value equal to 1. 17 17 #' 18 - #' @return integer vector 18 + #' @return integer vector. 19 19 #' 20 20 #' @seealso [base::max.col()] 21 21 #'

@@ -14,7 +14,7 @@
 14 14 #' @param budget numeric value specifying the maximum expenditure of 15 15 #' the prioritization. For problems with multiple zones, the argument 16 16 #' to budget can be a single numeric value to specify a budget 17 - #' for the entire solution or a numeric vector to specify 17 + #' for the entire solution or a numeric vector to specify 18 18 #' a budget for each each management zone. 19 19 #' 20 20 #' @details

@@ -35,11 +35,11 @@
 35 35 #' 36 36 #' \describe{ 37 37 #' 38 - #' \item{data as an integer vector}{containing indices that indicate which 38 + #' \item{data as an integer vector}{containing indices that indicate which 39 39 #' planning units should be locked for the solution. This argument is only 40 40 #' compatible with problems that contain a single zone.} 41 41 #' 42 - #' \item{data as a logical vector}{containing TRUE and/or 42 + #' \item{data as a logical vector}{containing TRUE and/or 43 43 #' FALSE values that indicate which planning units should be locked 44 44 #' in the solution. This argument is only compatible with problems that 45 45 #' contain a single zone.}
@@ -52,7 +52,7 @@
 52 52 #' zone. Thus each row should only contain at most a single TRUE 53 53 #' value.} 54 54 #' 55 - #' \item{data as a character vector}{containing field (column) name(s) 55 + #' \item{data as a character vector}{containing field (column) name(s) 56 56 #' that indicate if planning units should be locked for the solution. 57 57 #' This format is only 58 58 #' compatible if the planning units in the argument to x are a

@@ -41,7 +41,7 @@
 41 41 #' 42 42 #' \describe{ 43 43 #' 44 - #' \item{data as character vector}{containing field (column) name(s) that 44 + #' \item{data as character vector}{containing field (column) name(s) that 45 45 #' contain penalty values for planning units. This format is only 46 46 #' compatible if the planning units in the argument to x are a 47 47 #' [Spatial-class], [sf::sf()], or
@@ -52,7 +52,7 @@
 52 52 #' contain multiple zones, the argument to data must 53 53 #' contain a field name for each zone.} 54 54 #' 55 - #' \item{data as a numeric vector}{containing values for 55 + #' \item{data as a numeric vector}{containing values for 56 56 #' planning units. These values must not contain any missing 57 57 #' (NA) values. Note that this format is only available 58 58 #' for planning units that contain a single zone.}

@@ -37,7 +37,7 @@
 37 37 #' 38 38 #' \describe{ 39 39 #' 40 - #' \item{weights as a numeric vector}{containing weights for each feature. 40 + #' \item{weights as a numeric vector}{containing weights for each feature. 41 41 #' Note that this format cannot be used to specify weights for problems with 42 42 #' multiple zones.} 43 43 #'

### Everything is accounted for!

No changes detected that need to be reviewed.
##### What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.

### 2 Commits

Files Coverage
R 94.92%
src 98.81%
Project Totals (124 files) 96.11%