Configure Conda Environment for csMR
csMR_env.RdcsMR_env() prepares the official csMR environment. It clones the official
repository if missing, tries envs/envpy3.yml first, falls back to a
temporary compatibility env file only when the official file cannot solve,
installs required R packages into the csMR conda library, checks PLINK 1.90,
and returns the runtime paths required by the csMR README.
Arguments
- repo_dir
Path to the csMR repository.
- repo_url
Official csMR GitHub URL.
- env_name
Conda environment name.
- conda
Path to conda.
- mamba
Path to mamba.
- plink_path
Optional PLINK 1.90 path. If empty,
PATHandplinkbinr::get_plink_exe()are tried.- ref
Git branch or tag.
- overwrite
Whether to rebuild an existing env.