jeffreyhanson / raptr
Showing 1 of 155 files from the diff.
Other files ignored by Codecov
data/cs_space.rda has changed.
data/cs_pus.rda has changed.
docs/sitemap.xml has changed.
docs/index.html has changed.
docs/pkgdown.css has changed.
docs/pkgdown.yml has changed.
data/cs_spp.rda has changed.
R/RcppExports.R has changed.
data/sim_ru.rda has changed.
data/sim_rs.rda has changed.
docs/404.html has changed.
docs/authors.html has changed.
docs/pkgdown.js has changed.
README.md has changed.
NEWS.md has changed.
DESCRIPTION has changed.

@@ -469,11 +469,11 @@
Loading
469 469
  # set polygons
470 470
  geoPolygons <- pus
471 471
  if (!raster::compareCRS(geoPolygons@proj4string,
472 -
                          sp::CRS("+init=epsg:4326")) &&
472 +
                          sp::CRS("EPSG:4326")) &&
473 473
      !identical(geoPolygons@proj4string, sp::CRS())) {
474 474
    if (verbose)
475 475
      message("Projecting polygons to WGS1984 for rendering.")
476 -
    geoPolygons <- sp::spTransform(geoPolygons, sp::CRS("+init=epsg:4326"))
476 +
    geoPolygons <- sp::spTransform(geoPolygons, sp::CRS("EPSG:4326"))
477 477
  }
478 478
  geoPolygons <- rcpp_Polygons2PolySet(geoPolygons@polygons)
479 479
  ## set pu
@@ -498,7 +498,7 @@
Loading
498 498
    pu$area <- rgeos::gArea(pus, byid = TRUE)
499 499
    warning(paste0("argument to pus does not have a \"area\" column, ",
500 500
                   "calcuating planning unit areas using polygons"))
501 -
    if (raster::compareCRS(pus@proj4string, sp::CRS("+init=epsg:4326")))
501 +
    if (raster::compareCRS(pus@proj4string, sp::CRS("EPSG:4326")))
502 502
      warning(paste0("Planning unit areas are being calculated in a ",
503 503
                     "geographic coordinate system"))
504 504
  }
@@ -645,7 +645,7 @@
Loading
645 645
    )
646 646
  })
647 647
  ## set boundary
648 -
  if (raster::compareCRS(pus@proj4string, sp::CRS("+init=epsg:4326")))
648 +
  if (raster::compareCRS(pus@proj4string, sp::CRS("EPSG:4326")))
649 649
    warning(paste0("creating boundary length data from pus in WGS1984; ",
650 650
                   "consider supplying an object in a projected CRS."))
651 651
  if (verbose)
Files Coverage
R 74.96%
src 83.35%
Project Totals (41 files) 78.28%
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