HF RL Explorer

Standardize optional dependency handling

Standardize optional dependency handling: a task in lifesci-single-cell-spatial-swe-envs-nocap (Harbor dataset). Title: Standardize optional dependency handling

The task

**Title:** Standardize optional dependency handling

Part of scalingX/lifesci-single-cell-spatial-swe-envs-nocap.