check_mhcnuggets_installation: Check if MHCnuggets is installed.

View source: R/check_mhcnuggets_installation.R

check_mhcnuggets_installationR Documentation

Check if MHCnuggets is installed.

Description

Check if MHCnuggets is installed. Will stop if not.

Usage

check_mhcnuggets_installation(
  mhcnuggetsr_folder = get_default_mhcnuggetsr_folder(),
  ormr_folder_name = get_default_orm_folder_name()
)

Arguments

mhcnuggetsr_folder

folder where mhcnuggetsr stores its temporary files. Use get_default_mhcnuggetsr_folder for its default value.

ormr_folder_name

folder used by the ormr package to install Python packages to. Use python3 to install Python packages via pip. Default value is python3

Details

An MHCnuggets installation has two parts:

  1. The installation of the Python package, for running the code

  2. The download of the Python source code, which allows the use of example files

Value

Nothing.

Author(s)

Richèl J.C. Bilderbeek

Examples

if (is_mhcnuggets_installed()) {
  check_mhcnuggets_installation()
}

richelbilderbeek/mhcnuggetsr documentation built on Nov. 9, 2023, 10 p.m.