Skip to contents

SHARK4R (development version)

Bug fixes and CRAN compliance

  • Package cache directory is now removed after R CMD check to avoid leaving files behind.

SHARK4R 1.0.3

CRAN release: 2026-01-14

New features

  • Added a new harmful_non_toxic_only argument to get_hab_list() to download only non-toxigenic harmful microalgal species from the IOC-UNESCO HABs list
  • Added a new species_only argument to get_hab_list() to return only species-level records, which is now also the default option. This filter is ignored when harmful_non_toxic_only = TRUE
  • Added a new verbose argument to positions_are_near_land() and get_hab_list(harmful_non_toxic_only = TRUE) to enable printing of progress messages during data retrieval

Minor improvements and fixes

  • EEA coastline data are now obtained from EEA map services in positions_are_near_land(), replacing direct file server downloads that were unstable
  • All data frame outputs are now consistently returned as tibbles
  • Documentation updated with minor clarifications and corrections

SHARK4R 1.0.2

CRAN release: 2025-12-12

Bug fixes

  • SHARK4R:::.type_lookup now includes the missing datatype Jellyfish (#39)
  • Enhanced documentation and example execution in vignettes - updated examples to run correctly and improved clarity in vignettes and help files
  • HTML widgets and interactive objects are now displayed only in pkgdown articles; they are suppressed in CRAN vignettes to reduce size and improve build safety
  • Added tests for helper functions – covering extract_complete_toxins() and repair_toxins_json()
  • Cache is now cleared after R CMD check

SHARK4R 1.0.1

CRAN release: 2025-12-09

Bug fixes and CRAN compliance

  • Corrected formatting of package and software names throughout the package.
  • Fixed broken URL in README.md
  • Improved examples to run reliably and quickly
  • Ensured functions and examples no longer write to the user’s home directory
  • Added lon and lat arguments to the lookup_xy() function for more flexible lookup options
  • Minor documentation improvements throughout the package
  • get_toxin_list() now handles partial JSON responses

SHARK4R 1.0.0

New features

Enhancements

Deprecated

Defunct / Removed

  • Defunct function get_shark_table()

Documentation

  • Add NEWS.md file
  • Add spell check

SHARK4R 0.1.7

SHARK4R 0.1.6

Patch release

  • Fix issue #16
  • Add unparsed output option for get_shark_option()

SHARK4R 0.1.5

Patch release

SHARK4R 0.1.4

  • Add algaebase API functions
  • Defunct sharkdata functions
  • Fix parsing issue in shark_data when data are reported as “-”, which is now a NA pattern
  • Cleanup of large files
  • UTF-8 encoding

SHARK4R 0.1.3

  • Minor bug-fixes and updated documentation

SHARK4R 0.1.2

  • Patch release

SHARK4R 0.1.1

  • Fix download of large datasets
  • Add more WoRMS functionality, including plankton group assignment

SHARK4R 0.1.0

  • Add SHARK API functionality
  • Improve Dyntaxa API functionality
  • Fix documentation issues

SHARK4R 0.0.1

  • Initial development version.