v3.5.9.
New features
- Type hints in
rpy2
are now checked withmypy
.
Bugs fixed
-
Building the path to the R shared library was incorrectly
using the output ofR CMD config LIBnn
(issue #982). -
R started raising warnings when calling
formals
onSPECIALSXP
R objects.
Internal functionsrpy.robjects.functions
callingformals
no longer
propagate the warnings. -
The
numpy
converter was not turningNA_character_
into
None
(issue #979). -
rpy2.situation
included an eagerimport rpy2
that could cause a version
mismatch error with some build/install toolchain (issue #984). The import is now
lazy/delayed. -
Installation targets
pandas
,all
, andtest
now specifypandas>=1.2.0
(which should limit frequencies of issues like #998).
Changes
rpy2.robjects.conversion.Converter
objects are no longer functioning context
managers. An exception is now raised when trying to use it that way.
The feature was introduced with rpy2-3.5.7 but it does not guarantee the locality
of a context manager and can result in permanently changed conversion rules.
The methodrpy2.robjects.conversion.Converter.context
should be used instead.