Installs each branch in a separate library for isolation.

branch_install(
  branches = c(branch_get_or_fail("GITHUB_BASE_REF"),
    branch_get_or_fail("GITHUB_HEAD_REF")),
  path_pkg = ".",
  install_dependencies = FALSE
)

Arguments

branches

The names of the branches in a character vector.

path_pkg

The path to the repository to install.

install_dependencies

Passed to remotes::install_local().

Value

The global and touchstone library paths in a character vector (invisibly).