Skip to contents

Installs/updates all of the R packages from the Centre for Democracy Studies Aarau (ZDA) to the latest (development) version.

Usage

update_zdaarau_pkgs(
  pkgs = c("rdb.report", "fokus", "rdb", "swissevote"),
  from_cran = FALSE
)

Arguments

pkgs

R pkgs to be updated. A subset of:

  • "rdb.report"

  • "fokus"

  • "rdb"

  • "swissevote"

from_cran

Whether or not to install pkgs from a CRAN repository if possible. The repository URLs set in the repos R option are used by default, with fallback to https://cloud.r-project.org/. If FALSE, the latest development versions are always installed, regardless of whether pkgs are available on CRAN or not.

Value

pkgs, invisibly.

See also

Other development environment currentness functions: lvl_up_quarto(), lvl_up_r(), lvl_up_rstudio(), update_rpkgs(), update_salims_pkgs()