Rpy

Latest version: v0.99.2

Safety actively analyzes 613544 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 13

2.9.0

=============

New features
------------

- New module :mod:`rpy2.situation` to extract and report informations
about the environment, such as where is the R HOME, what is the
version of R, what is the version of R rpy2 was built with, etc...
The module is also designed to be run directly and provide diagnostics:
`python -m rpy2.situation`.

- :meth:`Environment.values`, :meth:`Environment.pop`,
:meth:`Environment.popitems`, :meth:`Environment.clear`
to match :meth:`dict.values`,
:meth:`dict.pop`, :meth:`dict.popitems`, :meth:`dict.clear`.

- :class:`VectorOperationsDelegator` now has a method `__matmul__` to implement
Python's matrix multiplication operator (PEP-0645).

Changes
-------

- Starting several times the singleton :class:`EventProcessor` longer results
in a :class:`RuntimeError`. This is now only a warning, addressing
issue 182.

- The target version for the R package `dplyr` mapped is now 0.5.0, and
:func:`rpy2.robjects.lib.dplyr.src_dt` is no longer present (see issue 357)

- :meth:`Environment.keys` is now a iterator to match :meth:`dict.keys`,
also an interator in Python 3.

- target version of `ggplot2` library is 2.2.0.

Bugs fixed
----------

- :func:`numpy.float128` is not available on all platforms. The unit test
for it is now skipped on systems where it is not present (issue 347)

- R pairlist objects can now be sliced (and issue 380 is resolved).

2.8.5

=============

Bugs fixed
----------

- The defintion of the method :class:`rpy2.rlike.container.OrdDict.items`
was incorrect, and so was the documentation for `rcall` (issue 383)

- Giving an empty sequence to :meth:`robjects.sequence_to_vector` is now
raising a :class:`ValueError` rather than fail with an
:class:`UnboundLocalError` (see issue 388).

- :meth:`robjects.robject.RSlots.items` is now working (see pull request 57).

2.8.4

=============

Bugs fixed
----------

- The context manager :func:`rpy2.robjects.lib.grdevices.render_to_file`
is no longer trying to impose a file name generated by :mod:`tempfile`
(issue 371)

- The symbol `LISTSXP` (corresponding to R pairlist objects) was not
imported from the C module in rpy2.

- The functions `scale_linetype_discrete` and `scale_linetype_continuous`
in ggplot2 were not wrapped by :mod:`rpy2.robjects.lib.ggplot2`
(issue 381)

2.8.3

=============

Bugs fixed
----------

- Fixed the error when the transformation of R "man" pages into Python
docstrings was failing when the section "arguments" was missing
(issue 368)

- Failing to find R in the PATH during the installation of rpy2
is now printing an error message instead of a warning (issue 366)

2.8.2

=============

Bugs fixed
----------

- R's `dplyr::src_dt` was moved to `dtdplyr::src_dt` with `dplyr` release 0.5.0.
To address this, `src_dt` will become a `None` if the R package `dplyr` is
discovered to be of version >= 0.5.0 at runtime. (issue 357)

- Conversion issue when R symbols were accessed as attribute of the singleton
:class:`rpy2.robjects.R`. (issue 334)

- The `rmagic` extension for `ipython` was no longer loading with the latest
ipython (version 5.0.0). (issue 359)

Changes
-------

- The fix to issue 357 (see bugs fixed above) was expanded to cover all
R packages wrapped in :mod:`rpy2.robjects.lib` and ensure that the respective
Python modules can loaded even if symbols are no longer defined in future
versions of the corresponding R packages.

2.8.1

=============

New features
------------

- `Dockerfile` with automated build on dockerhub (https://hub.docker.com/r/rpy2/rpy2)

Bugs Fixed
----------

- Trying to install rpy2 while R is not in the `PATH` resulted in an error
in `setup.py`.

Page 1 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.