parabar v0.10.0
What's Changed
- Expand user API for all
Service
operations by @mihaiconstantin in #14
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 thepkgdown
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 thestart_backend
function. All other exported wrappers (i.e.,clear
,export
,peek
,evaluate
, andpar_sapply
) inherit the@examples
section fromstart_backend
. - Update references in
@seealso
documentation sections. - Change
backend
argument ofpar_sapply
tobackend = NULL
. This implies, thatpar_sapply
without a backend behaves identically tobase::sapply
.
Fixed
- Update
export
method to use the.GlobalEnv
as fallback when exporting variables.
Full Changelog: v0.9.4...v0.10.0