Recent Releases of b3gbi

b3gbi - Release v0.7.1

Minor update:

  • Reorganized code in some indicator calculations to improve efficiency.
  • Fixed areararityts() that was broken by the previous update.

  • Note that the Hill functions are not working properly. This will hopefully be fixed in the next update.

- R
Published by shawndove 9 months ago

b3gbi - Release v0.7.0

Major update:

  • Ocean occurrences are now included by default when calculating indicators (previously they were ignored entirely). They can be turned off using includeocean = FALSE. Alternatively, you can set includeocean = "bufferedcoast" to include only occurrences within a set distance from the coast, measured in km (e.g., bufferdist = 50).
  • Shape files can now be .wkt format. The CRS cannot be automatically determined from .wkt files, so it is assumed to be EPSG:4326 unless specified using the parameter shapefile_crs.
  • All geometry processing within the workflow is now done using a projected CRS, and conversion to the user-specified output_crs happens at the end. This allows for a simplified workflow and ensures more accurate calculations.
  • The user now has the option to add any rnaturalearth layer(s) to map plots using the layers parameter.
  • Automatic cellsize determination now takes total cube area into account instead of just the level ('country', 'continent', etc). Note, however, that the user still has the ability to manually set cellsize.
  • Warnings from the sf package should no longer appear due to improvements in the way geometry operations are handled by b3gbi.
  • The scale (resolution) of rnaturalearth data is now user-selectable when plotting (using the 'scale' parameter). The default is 'medium'.
  • Indicators are now calculated much faster as geometric operations have been simplified and reduced and code has been reorganized and simplified to improve efficiency.
  • Grid offsets are now correct.
  • Additional error checking included.
  • Many minor bug fixes.

- R
Published by shawndove 9 months ago

b3gbi - Release v0.6.3

Minor update:

  • Fixed a bug that caused quarter-degree grid codes to be translated incorrectly for some geographic locations. They should now work correctly in all cases.

- R
Published by shawndove about 1 year ago

b3gbi - Release v0.6.2

Minor update:

  • Fixed a bug related to MGRS grids that caused southern hemisphere MGRS codes to be associated northern hemisphere EPSG codes.

- R
Published by shawndove about 1 year ago

b3gbi - Release v0.6.1

Minor update:

  • Fixed a bug that caused an error when calculating time series from MGRS cube.

- R
Published by shawndove about 1 year ago

b3gbi - Release v0.6.0

Major update:

  • Fixed the way that MGRS grid codes are processed. Previously they were converted to lat/long and a global CRS was used. The package instead now converts to UTM codes and chooses the most appropriate local CRS.

- R
Published by shawndove about 1 year ago

b3gbi - Release v0.5.6

Minor update:

  • Fixed a bug in that caused quarter-degree grid codes to be translated incorrectly.
  • Removed minimum size limitation for grid cells. Very high resolution grids now just give a message warning the user that it could take a while and suggesting a larger cell size.

- R
Published by shawndove about 1 year ago

b3gbi - Release v0.5.5

Minor update:

  • Fixed bugs in abraritymap() and areararitymap() that caused incorrect calculations.
  • Added more unit tests.
  • Improved error handling in some functions.

- R
Published by shawndove about 1 year ago

b3gbi - Release v0.5.4

04.04.2025 - Minor update:

Minor update:

  • Fixed an error where spherical geometry was being turned off without a good reason. Spherical geometry is now only turned off to retry failed stintersection() or stdifference() operations or when the user explicitly sets it to FALSE.
  • Additional error handling was added to many functions.
  • process_cube() now checks for contamination in the grid code column and throws an error if any false grid codes are found.
  • Some code was cleaned up and made more efficient.
  • Unit tests were added to the package for many functions to prevent breakage in future updates.

- R
Published by shawndove about 1 year ago

b3gbi - Release v0.5.3

25.03.2025 - Minor update:

  • Updated old and non-working example in process_cube() documentation.

- R
Published by shawndove about 1 year ago

b3gbi - Release v0.5.2

24.03.2025 - Minor update:

  • Fixed species occurrence and species range plots when selecting only one species (previously it was not possible to add additional ggplot code when only one species was plotted due to a bug in the plotting code).

- R
Published by shawndove about 1 year ago

b3gbi - Release v0.5.1

24.03.2025 - Minor update:

  • Equations in pkgdown help website now display correctly.
  • Fixed bad example in specoccts() documentation.

- R
Published by shawndove about 1 year ago

b3gbi - Release v0.5.0

24.03.2025 - Major update:

  • Conversion between input and output coordinate reference systems is now handled correctly even if they have different units
  • Conversion between CRSs with different units (e.g. degrees vs km) must now be forced by the user, and a warning is given.
  • More extensive documentation is now provided for indicator functions, including formulas and background information.
  • Users can now provide external shapefiles to limit indicator calculations to feature boundaries.
  • Removed compatibility with previous generation cubes (created using TriAs project code).

- R
Published by shawndove about 1 year ago

b3gbi - Release v0.4.4

21.03.2025 - Minor update:

  • Area is no longer calculated for projections that use degrees.
  • Occurrence density now refuses to calculate for projections that use degrees.
  • Object metadata now displays 'degrees' instead of 'degrees^2'.

- R
Published by shawndove about 1 year ago

b3gbi - Release v0.4.3

04.03.2025 - Minor update:

  • Add power parameter for map legend scale transformations. This enables the use of Box-Cox, modulus, and Yeo-Johnson transformations.

- R
Published by shawndove about 1 year ago

b3gbi - Release v0.4.2

20.02.2025 - Minor update:

  • Bug fix: Coordinates now display correctly after using process_cube() with custom grid codes

- R
Published by shawndove over 1 year ago

b3gbi - Release v0.4.1

19.02.2025 - Minor update:

  • All R CMD checks are now passing without any errors, warnings or notes
  • The 'taxize' package is no longer a dependency, but must be installed if you want to calculate taxonomic distinctness

- R
Published by shawndove over 1 year ago

b3gbi - Release v0.4

14.02.2025 - Major update:

  • Better integration with rnaturalearth
  • Fully supports b3gbi GUI functions
  • Hill diversity functions are now exported and can be used

- R
Published by shawndove over 1 year ago

b3gbi - Release v0.3.1

12.02.2025 - Minor update: * Get dependencies from recognised repositories * Join the R-universe!

- R
Published by shawndove over 1 year ago

b3gbi - Release v0.3

05.12.2024 - Major update:

Added bootstrapped confidence intervals to most indicators. Added many additional customatization parameters for time series plots. See plot_ts() documentation. Defaults for some visualization parameters have changed. Fixed bug that caused errors about incorrect cell sizes when they were actually correct.

- R
Published by shawndove over 1 year ago

b3gbi - Release v0.2.3.1

User-supplied resolutions for 'km'-based grid systems are now properly handled

- R
Published by shawndove over 1 year ago

b3gbi - Release v0.2.3

Compatible with gcube output: - added class simcube for objects without grid codes - added 'none' to gridtype options

Bug fixes: - No longer returns an error when you correctly specify a cell size when calculating indicators with mgrs grid

- R
Published by shawndove over 1 year ago

b3gbi - Release v0.2.2

Cubes processed using processcubeold() now have a column called minCoordinateUncertaintyInMeters, containing the spatial uncertainty from the cube. Previously the spatial uncertainty column was made available when using processcube() but was ignored by processcube_old().

- R
Published by shawndove almost 2 years ago

b3gbi - Release v0.2.1

Minor update:

  • Added options to improve control of plot output. The argument landfillcolour allows you to change the colour of the land area outside of the grid.The argument croptogrid will snap the plot edges to the gridded area. This will improve the way the plot looks if e.g. your data is sparse and does not extend to the edges of a country or continent.

  • Fixed a bug in processcubeold that caused it to fail.

  • Fixed a bug that caused calculated indicator objects to retain too many data columns.

- R
Published by shawndove almost 2 years ago