Installs or optionally updates fastf1
Python package in the current active Python
environment/virtualenv/conda env.
More information on how to manage complex environment needs can be read in the reticulate docs, and tools for managing virtual environments are documented in virtualenv-tools and conda-tools
Usage
setup_fastf1(
...,
envname = "f1dataR_env",
new_env = identical(envname, "f1dataR_env")
)
Arguments
- ...
Additional parameters to pass to py_install
- envname
Optionally pass an environment name used. Defaults to package default of
f1dataR_env
.- new_env
Whether or not to completely remove and recreate the environment provided in
envname
. This will fix any issues experienced byfastf1
related to package dependencies.