Reimplementations of Functions Introduced Since R-3.0.0

Implementations of functions which have been introduced in R since version 3.0.0. The backports are conditionally exported which results in R resolving the function names to the version shipped with R (if available) and uses the implemented backports as fallback. This way package developers can make use of the new functions without worrying about the minimum required R version.


backports 1.1.2

  • Improved import mechanism.
  • Added .valid.factor() for R versions prior to 3.4.0.

backports 1.1.1

  • Added ...length() and ...elt() for R versions prior to 3.5.0.
  • Added isFALSE() for R versions prior to 3.5.0.

backports 1.1.0

  • New import mechanism to import packages during load-time with the function import(). This is now the recommended way to use backports non-interactively. Simply importing backports in the NAMESPACE still works, but is comparably error-prone if the same library is used by multiple R installations.

backports 1.0.5

  • Added get0() for R versions prior to 3.2.0.
  • Added examples.

backports 1.0.4

  • Added hasName() for R versions prior to 3.4.0.
  • Added with backport for argument extra_cols.

backports 1.0.3

  • Removed stringi dependency.

backports 1.0.2

  • Fixed file.size(), file.mtime() and file.mode() for R-3.1.x.

backports 1.0.1

  • Added file.size(), file.mtime() and file.mode() for R versions prior to 3.2.0.

backports 1.0.0

  • Initial version.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.1.2 by Michel Lang, 6 months ago

Report a bug at

Browse source code at

Authors: Michel Lang [cre, aut] (0000-0001-9754-0393)

Documentation:   PDF Manual  

GPL-2 license

Imports utils

Imported by AMR, BatchExperiments, BatchJobs, OpenML, base64url, batchtools, brms, checkmate, decoder, ggraptR, incadata, mlr, mlrCPO, mlrMBO, rprojroot, stringb, styler, usethis.

See at CRAN