Skip to content

Commit

Permalink
v0.1.46 issue #26 big fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bchileen committed Aug 21, 2023
1 parent 71e6ff2 commit 6e0a161
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 11 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: fluvgeo
Title: A Package for Fluvial Geomorphic Analysis
Version: 0.1.44
Version: 0.1.46
Authors@R: c(
person("Michael", "Dougherty",
email = "Michael.P.Dougherty@usace.army.mil",
Expand Down
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ importFrom(terra,vect)
importFrom(terrainr,get_tiles)
importFrom(testthat,expect_true)
importFrom(tidyr,gather)
importFrom(tmap,test)
importFrom(tmap,tm_add_legend)
importFrom(tmap,tm_compass)
importFrom(tmap,tm_layout)
Expand Down
13 changes: 13 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# fluvgeo v0.1.46 (2023-08-21)

## Major changes
* None

## Bug Fixes
* Removed immediate dependencies on `rgdal` to address issues with the Level 1 Reports failing.
See [Issue 26](https://github.com/FluvialGeomorph/fluvgeo/issues/26)

##Minor changes
* None


# fluvgeo v0.1.45 (2023-03-21)

## Major changes
Expand Down
1 change: 0 additions & 1 deletion R/map_xs.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#' @importFrom grDevices colorRampPalette grey
#' @importFrom tmap tm_shape tm_raster tm_lines tm_text tm_add_legend
#' tm_compass tm_scale_bar tm_layout
#'test
map_xs <- function(cross_section, xs_number, dem,
banklines = NULL,
extent_factor = 1) {
Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ An `R` Package for Performing **Fluv**ial **Geo**mrphology Analysis
## Package Status
[![Maturing](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://www.tidyverse.org/lifecycle)
[![Project Status: Active The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
[![packageversion](https://img.shields.io/badge/Package%20version-0.1.45-orange.svg?style=flat-square)](commits/master)
[![packageversion](https://img.shields.io/badge/Package%20version-0.1.46-orange.svg?style=flat-square)](commits/master)
[![Last-changedate](https://img.shields.io/badge/last%20change-`r gsub('-', '--', Sys.Date())`-yellowgreen.svg)](/commits/master)
[![Licence](https://img.shields.io/badge/licence-CC0-blue.svg)](http://choosealicense.com/licenses/cc0-1.0/)

Expand Down
14 changes: 7 additions & 7 deletions tests/testthat/test_map_xs.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ xs_number <- 1
extent_factor <- 1.2


# # sp
# cross_section_sp <- fluvgeo::sin_riffle_floodplain_dims_L3_sp
# banklines_sp <- fluvgeo::sin_banklines_sp
#
# # sp to sf
# xs_sp_sf <- sf::st_as_sf(cross_section_sp)
# bl_sp_sf <- sf::st_as_sf(banklines_sp)
# sp
cross_section_sp <- fluvgeo::sin_riffle_floodplain_dims_L3_sp
banklines_sp <- fluvgeo::sin_banklines_sp

# sp to sf
xs_sp_sf <- sf::st_as_sf(cross_section_sp)
bl_sp_sf <- sf::st_as_sf(banklines_sp)



Expand Down

0 comments on commit 6e0a161

Please sign in to comment.