Skip to content

Packages tested with pqR

Radford Neal edited this page Jul 24, 2020 · 46 revisions

This page reports on R packages that do and do not work with pqR, and describes a repository of packages known to work.

A repository of packages that work with pqR

A collection of packages that are known to work (at least on a Linux system) with the current stable release of pqR is available from the repos.pqR-project.org repository. The base and recommended packages distributed with pqR are also known to work (they are not included in the repository). Repositories for some specific versions of pqR can be obtained by appending the release date, as /YYYY-MM-DD, to the URL.

These packages pass all checks (including running vignettes) on an Ubuntu 18.04 system with a 64-bit Intel processor, using uncompressed pointers, except that a small number of packages can't complete some checks because they need other packages that are not in this repository, and a small number of checks fail for apparently innocuous reasons. Also, some packages fail unless run in a UTF-8 or Latin-1 locale (not C/POSIX), some packages require software that is not installed by default with Ubuntu 18.04, and some packages may fail if an external URL cannot be found. A few packages need to be installed with R_PARSE_DOTDOT set to FALSE (see help("..") for details). Finally, gcc 4.8.5 is used as the C and C++ compiler. Later versions of gcc work fine for most packages (and for pqR itself), but a few of the packages in the repository fail with newer versions of gcc.

The repository currently contains 6319 contributed packages, which are in addition to the 14 base packages and 16 recommended packages distributed with pqR. The names and versions of the contributed packages are listed here.

This repository is used by default when installing packages, with CRAN being looked at only if the package is not in this repository. One can install from only this repository using the argument repos="repos.pqR-project.org" in the call of install.packages. For example:

install.packages ("ggplot2", repos="repos.pqR-project.org")

Packages that do not work with pqR

A few packages are known to fail with pqR-2019-01-25 because of incompatibilties of pqR with R-2.15.1. A few more packages do dubious things that don't work in pqR, but that happen to work in R-2.15.1, though it is clear that such things are not intended to work even in R-2.15.1.

A number of packages state that they depend on a version of R later than 2.15.1, which is the latest version that pqR aims to be compatible with, though pqR has many features of later R Core releases as well. Most of these have not been tested with pqR (though some might work, if their declared dependence is actually unnecessary).

Some packages do not work with pqR for deep reasons. Of these, data.table is the most prominent. Its attempt to use "reference semantics" for data tables is fundamentally incompatible with the semantics of R. It works with R Core versions only by use of various kludges, which don't work in pqR (and maybe don't really work for R Core versions either).

Rcpp does not work with pqR if compressed pointers are enabled. The version (rather old) in the pqR repository does work if uncompressed pointers are used (the default).

For some packages with small, easily-fixable incompatibilities, the pqR repository has a new version with the necessary fixes, which do not alter functionality. The version number is altered by appending -909 to recognize the changes. The modifications to these packages can be seen in this repository.