MyNixOS website logo
Description

Informative Messages About Outdated Packages.

When a package is loaded, the source repository is checked for new versions and a message is shown in the console indicating whether the package is out of date.

updateme

R-CMD-check

{updateme} modifies library() to tell you if your packages are up to date when you load them:

Installation

You can install {updateme} from CRAN like so:

install.packages("updateme")

Usage

To use {updateme}, simply call library(updateme) before loading other packages. You may find you'd like to have {updateme} available all the time; in this case, consider adding this snippet to your .Rprofile:

if (interactive()) {
  suppressMessages(require(updateme))
}

Configuration

Package sources

By default, new versions of packages will be looked up from the location where they seem to have been installed from. If you installed from CRAN (e.g. using install.packages()), {updateme} will check CRAN for a newer version, and similarly with packages installed from Bioconductor, GitHub, and GitLab.

Occasionally you may want more control over where {updateme} looks for new package versions. You can configure this behaviour, including turning {updateme} off for particular packages, using updateme_sources_set(). If you want to temporarily disable {updateme} entirely you can do so using updateme_off().

Caching

Some caching of downloads is used to make most calls to library() pretty quick. The cache resets every hour, but you can configure this like so:

# Set the cache expiry time to 30 minutes
options(updateme.cache_expiry = 30)
Metadata

Version

0.1.0

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows