Amy Thomson
Amy Thomson
If you are interested. I have a set of maths functions on `BigDecimal` that I am using as a reference for libm generation. https://github.com/extendr/doctor-syn/blob/main/src/bdmath.rs These are only references, using MacLaurin...
@dbdahl @ritchie46 @ChristopherEeles See: https://github.com/pola-rs/polars/issues/996 "Polars is a blazingly fast DataFrames library implemented in Rust using Apache Arrow(2) as memory model." prerequisites: * Make a R package in the polar-rs...
Many macros rely on `use extendr_api::prelude::*` we should make all macros use `::extendr_api`. In procedural macros, we may be able to use `CARGO_PKG_NAME` to detect if we are compiling in...
We should encourage users to use the explicit module paths instead of using `extendr_api::prelude`. Doing a few tests at a time would be a useful first task.
This might be a nice intro PR. It is nice to separate the tests from the code. Requirements are: 1) Don't lose them. 2) Avoid using extendr_api::prelude
Vectors and scalars have many things in common. We have the `CanBeNa` trait that applies to both but many other behaviours are common. For example. All vectors and pairlists support...
In addition to `TryFrom` we should also impl `TryFrom` for all types. In the case: ```rust fn polymorphic_int(v: Rint) { } fn polymorphic_float(v: Rfloat) { } fn polymorphic(val: Robj) {...
```rust #[extendr(use_try_from = true)] fn test_rint(val: Rint) -> Rint { val } ``` Should just be ```rust #[extendr] fn test_rint(val: Rint) -> Rint { val } ```
This is a small issue to add `Infallible` conversion to our error type. https://doc.rust-lang.org/std/convert/enum.Infallible.html `Infallible` is the "never" error type which means that it will never be actually thrown. However,...
On my TODO list for the September 1st ISC milestone are wrappers for Weakref and External pointers. Weakref is not much used. The motivation is to save memory in cases...