unsupported string as datatype for R containers
An R container (i.e. rtensor/rarray) can only be of type int, double, raw (i.e. unsigned char
, see https://github.com/wch/r-source/blob/0ba66a2bc236ae5b009af910688575aa4adddd2c/src/include/Rinternals.h#L55), boolean, and complex (see https://github.com/xtensor-stack/xtensor-r/blob/5bbeae4b6f736344f5994a16b5fbeeedc218e934/include/xtensor-r/rcontainer.hpp#L145-L150). There is no support for std::string
or std::array<char, #>
(see question about string in the following comment https://github.com/xtensor-stack/xtensor-r/issues/59#issuecomment-439191587).
This means that the masking conditions ofevalhyd
cannot be exposed in evalhyd-r
at the moment because the parameter m_cdt in evald
and evalp
is of type xt::xtensor<std::array<char, #>, N>
.