Compare commits

4 Commits

3 changed files with 5 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
Package: AVSDevR.MarineNoiseRegistry
Title: Marine Noise Registry Common Code Package
Version: 1.0.3
Version: 1.1.0
Authors@R:
person("Craig", "Williams", , "craig@avsdev.uk", role = c("aut", "cre"))
Description: Comon code and assets for all of the Marine Noise Registry

View File

@@ -357,7 +357,9 @@ MNR.DB.Applications <- R6::R6Class(
# Work out what the closeout closeout year should be
dplyr::mutate(
closeout_year = as.Date(paste(
lubridate::year(pmax(start_date, closed_at, na.rm = TRUE)),
lubridate::year(
pmax(start_date, last_closeout_at, closed_at, na.rm = TRUE)
),
12L,
31L,
sep = "-"

View File

@@ -185,7 +185,7 @@ MNR.GeoPlot <- R6::R6Class(
family = "Roboto, \"Helvetica Neue\", Helvetica, Arial, sans-serif",
size = 15
),
mapbox = list(style = "carto-positron"),
mapbox = list(style = "https://basemaps.cartocdn.com/gl/positron-gl-style/style.json"),
legend = list(
groupclick = "toggleitem",
itemdoubleclick = FALSE