Skip to contents

install python dependencies for the floodam.building hydraulic model

Usage

manage_python(
  envname = "floodam",
  packages = c("numpy", "pandas"),
  force = FALSE,
  remove = FALSE
)

Arguments

envname

character; name of the python's virtual environment. Default to "floodam"

packages

character; names of the packages to install. Default to "numpy" and "pandas"

force

logical; force the creation of the virtual environment and the reinstallation of dependencies. Default to FALSE

remove

logical; remove the virtual environment. Default to FALSE

Details

manage_python() manage the installation of the floodam.building's python dependencies. it creates a new virtual environment so the user's current python installation is not modified