Showing 1 of 3 files from the diff.
Newly tracked file
R/drtm.R changed.
Other files ignored by Codecov

@@ -21,10 +21,10 @@
Loading
21 21
#' @examples
22 22
#' # Example data
23 23
#' aoi <-
24 -
#'   sf::st_read(system.file("example.gpkg", package="drtplanr"), layer = "aoi")
24 +
#'   sf::st_read(system.file("example.gpkg", package = "drtplanr"), layer = "aoi")
25 25
#'
26 26
#' pop <-
27 -
#'   sf::st_read(system.file("example.gpkg", package="drtplanr"), layer = "pop")
27 +
#'   sf::st_read(system.file("example.gpkg", package = "drtplanr"), layer = "pop")
28 28
#'
29 29
#' # Create model
30 30
#' m <- drt_drtm(
@@ -146,7 +146,7 @@
Loading
146 146
#' @examples
147 147
#' # Example model
148 148
#' m <- drt_import(
149 -
#'   system.file("Jegenstorf_i1000.RData", package="drtplanr")
149 +
#'   system.file("Jegenstorf_i1000.RData", package = "drtplanr")
150 150
#' )
151 151
#' print(m)
152 152
print.drtm <- function(x, ...) {
@@ -189,7 +189,7 @@
Loading
189 189
#' @examples
190 190
#' # Example data
191 191
#' aoi <-
192 -
#'   sf::st_read(system.file("example.gpkg", package="drtplanr"), layer = "aoi")
192 +
#'   sf::st_read(system.file("example.gpkg", package = "drtplanr"), layer = "aoi")
193 193
#'
194 194
#' drt_osm_bb(aoi)
195 195
drt_osm_bb = function(aoi) UseMethod("drt_osm_bb")
@@ -219,10 +219,10 @@
Loading
219 219
#' @examples
220 220
#' # Example data
221 221
#' aoi <-
222 -
#'   sf::st_read(system.file("example.gpkg", package="drtplanr"), layer = "aoi")
222 +
#'   sf::st_read(system.file("example.gpkg", package = "drtplanr"), layer = "aoi")
223 223
#'
224 224
#' pop <-
225 -
#'   sf::st_read(system.file("example.gpkg", package="drtplanr"), layer = "pop")
225 +
#'   sf::st_read(system.file("example.gpkg", package = "drtplanr"), layer = "pop")
226 226
#'
227 227
#' drt_mask(pop, aoi)
228 228
drt_mask = function(layer, aoi) UseMethod("drt_mask")
@@ -372,7 +372,7 @@
Loading
372 372
#' @examples
373 373
#' # Example model
374 374
#' m <- drt_import(
375 -
#'   system.file("Jegenstorf_i1000.RData", package="drtplanr")
375 +
#'   system.file("Jegenstorf_i1000.RData", package = "drtplanr")
376 376
#' )
377 377
#'
378 378
#' drt_iterate(m, 10)
@@ -427,7 +427,7 @@
Loading
427 427
#' \donttest{
428 428
#' # Example model
429 429
#' m <- drt_import(
430 -
#'   system.file("Jegenstorf_i1000.RData", package="drtplanr")
430 +
#'   system.file("Jegenstorf_i1000.RData", package = "drtplanr")
431 431
#' )
432 432
#'
433 433
#' # Export to temporary dir
@@ -454,7 +454,7 @@
Loading
454 454
#' @examples
455 455
#' # Example model
456 456
#' m <- drt_import(
457 -
#'   system.file("Jegenstorf_i1000.RData", package="drtplanr")
457 +
#'   system.file("Jegenstorf_i1000.RData", package = "drtplanr")
458 458
#' )
459 459
drt_import = function(file_name) UseMethod("drt_import")
460 460
@@ -480,7 +480,7 @@
Loading
480 480
#' @examples
481 481
#' # Example model
482 482
#' m <- drt_import(
483 -
#'   system.file("Jegenstorf_i1000.RData", package="drtplanr")
483 +
#'   system.file("Jegenstorf_i1000.RData", package = "drtplanr")
484 484
#' )
485 485
#'
486 486
#' # Plot
@@ -511,7 +511,7 @@
Loading
511 511
#' @examples
512 512
#' # Example model
513 513
#' m <- drt_import(
514 -
#'   system.file("Jegenstorf_i1000.RData", package="drtplanr")
514 +
#'   system.file("Jegenstorf_i1000.RData", package = "drtplanr")
515 515
#' )
516 516
#'
517 517
#' drt_map(m)
@@ -562,7 +562,7 @@
Loading
562 562
#' @examples
563 563
#' #' # Example model
564 564
#' m <- drt_import(
565 -
#'   system.file("Jegenstorf_i1000.RData", package="drtplanr")
565 +
#'   system.file("Jegenstorf_i1000.RData", package = "drtplanr")
566 566
#' )
567 567
#'
568 568
#' # Save to temp dir
Files Coverage
R 83.87%
Project Totals (2 files) 83.87%
1
comment: false
2

3
coverage:
4
  status:
5
    project:
6
      default:
7
        target: auto
8
        threshold: 1%
9
        informational: true
10
    patch:
11
      default:
12
        target: auto
13
        threshold: 1%
14
        informational: true
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading