ALTLIST support allowing users to represent structs as R list objects
[either] TryFrom<&Robj> for Either<T, R> and From<Either<T, R>> for Robj if T and R are themselves implement these traits. This unblocks scenarios like accepting any numeric vector from R via Either<Integers, Doubles> without extra memory allocation [#480](extendr/extendr#480)
PartialOrd trait implementation for Rfloat, Rint and Rbool. Rfloat and Rint gained min() and max() methods [#573](extendr/extendr#573)
use_rng option for the extendr attribute macro, which enables the use of
random number sampling methods from R, e.g. #[extendr(use_rng = true) [#476](extendr/extendr#476)
[docs] Use bindgen on docs.rs, to ensure newer R features will still be documented [#426](extendr/extendr#426)
Unify the tagging mechanism used to identify Rust types inside ExternalPtr. This allows #[extendr]-annotated functions to directly accept ExternalPtr<MyStruct> as well as MyStruct [#433](extendr/extendr#433)
When converted to STRSXP, strings are now correctly marked as UTF-8 even on non-UTF-8 platforms (i.e., R < 4.2 on Windows), which shouldn't matter for most of the users [#467](extendr/extendr#467)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on extendr-api to permit the latest version.
Changelog
Sourced from extendr-api's changelog.
... (truncated)
Commits
478c05e
Release v0.6.0 (#637)d44aaa4
Update syn crate to version 2 (#587)78cec79
Disable macros snapshot test if onnightly
toolchain (#631)1b29fb9
AddOption\<String>
conversion toRstr
(#630)07914b8
MakeRfloat
,Rint
, and friendsToVectorValue
. (#593)5fd7c7d
Use c_char instead of u8 (#629)ffc02db
Fix non-Api calls issue in R packages (#627)2992da0
Fix a typo (#625)c7b0f01
Use once_cell instead of lazy_static (#618)654d606
Ignoreextendrtests.Rcheck
wherever they may appear (#622)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show