Skip to content

parabar v0.10.0

Compare
Choose a tag to compare
@mihaiconstantin mihaiconstantin released this 27 Feb 11:42
· 267 commits to main since this release

What's Changed

Added

  • Add new exported wrappers to the pkgdown reference section.
  • Add several exported wrappers to the user API:
    • clear: to clean a provided backend instance.
    • export: to export variables from a given environment to the .GlobalEnv of the backend instance.
    • peek: to list the variables names available on the backend instance.
    • evaluate: to evaluate arbitrary expressions on the backend instance.
  • Add type checks for the exported functions (i.e., the user API).
  • Add helper method for checking and validating the type of an object. The Helper$check_object_type method checks if the type of an object matches an expected type. If that is not the case, the helper throws an error (i.e., Exception$type_not_assignable).

Changed

  • Add .scss styles to override the table column width for the exported wrappers table in the pkgdown website.
  • Update README and package documentation to mention new exported wrappers.
  • Update the order of topics for the website reference section generated via pkgdown.
  • Update roxygen2 @examples for exported wrappers. The code for the examples is located in the documentation for the start_backend function. All other exported wrappers (i.e., clear, export, peek, evaluate, and par_sapply) inherit the @examples section from start_backend.
  • Update references in @seealso documentation sections.
  • Change backend argument of par_sapply to backend = NULL. This implies, that par_sapply without a backend behaves identically to base::sapply.

Fixed

  • Update export method to use the .GlobalEnv as fallback when exporting variables.

Full Changelog: v0.9.4...v0.10.0