| Title: | An 'Rcpp' Interface to Active Bindings |
| Version: | 0.2.3 |
| Date: | 2023-12-11 |
| Description: | Provides an easy way to fill an environment with active bindings that call a C++ function. |
| License: | MIT + file LICENSE |
| URL: | https://github.com/krlmlr/bindrcpp, https://krlmlr.github.io/bindrcpp/ |
| BugReports: | https://github.com/krlmlr/bindrcpp/issues |
| Imports: | bindr (≥ 0.1.1), Rcpp (≥ 0.12.16) |
| Suggests: | testthat |
| LinkingTo: | plogr, Rcpp |
| Config/Needs/check: | RcppCore/Rcpp |
| Encoding: | UTF-8 |
| RoxygenNote: | 7.2.3 |
| NeedsCompilation: | yes |
| Packaged: | 2023-12-11 21:27:04 UTC; kirill |
| Author: | Kirill Müller |
| Maintainer: | Kirill Müller <kirill@cynkra.com> |
| Repository: | CRAN |
| Date/Publication: | 2023-12-12 04:20:02 UTC |
bindrcpp: An 'Rcpp' Interface to Active Bindings
Description
Provides an easy way to fill an environment with active bindings that call a C++ function.
Details
Use LinkingTo: bindrcpp in DESCRIPTION and
#include <bindrcpp.h> in your C++ headers and/or modules to access the
C++ functions provided by this package:
-
create_env_string()creates an environment with active bindings, with names given as a character vector. Access of these bindings triggers a call to a C++ function with a fixed signature (GETTER_FUNC_STRING); this call contains the name of the binding (as character) and an arbitrary payload (PAYLOAD, essentially a wrappedvoid*). -
create_env_symbol()is similar, the callback function accepts the name of the binding as symbol instead of character (GETTER_FUNC_SYMBOL). -
populate_env_string()andpopulate_env_symbol()populate an existing environment instead of creating a new one.
Author(s)
Maintainer: Kirill Müller krlmlr+r@mailbox.org (ORCID)
Other contributors:
RStudio [copyright holder]
See Also
Useful links:
Report bugs at https://github.com/krlmlr/bindrcpp/issues
Enable internal logging
Description
Log entries, depending on the log level, will be printed to the standard error stream.
Usage
init_logging(log_level)
Arguments
log_level |
A character value, one of "WARN", "INFO", "DEBUG", "VERB", or "NONE". |
Objects exported from other packages
Description
These objects are imported from other packages. Follow the links below to see their documentation.
- bindr