find_install_dir: Find a directory to install software in

View source: R/find_install_dir.R

find_install_dirR Documentation

Find a directory to install software in

Description

Find a directory that you have write permissions in to so that you can install software there. Tests several options and returns the first viable one.

Usage

find_install_dir(
  dest_dir_opts = c(tools::R_user_dir("echoconda", which = "cache"), system.file("tools",
    package = "echoconda"), "/usr/local/bin", Sys.getenv("HOME"), getwd(), tempdir()),
  verbose = FALSE
)

Arguments

dest_dir_opts

Potential installation directory options.

verbose

Print messages.

Value

Path to viable installation directory.


RajLabMSSM/echoconda documentation built on May 21, 2023, 10:19 a.m.