% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/internal.R
\name{gsva_use_new_api}
\alias{gsva_use_new_api}
\title{GSVA API Version Detection}
\usage{
gsva_use_new_api()
}
\value{
A list with two elements:
  - `use_new_api`: Logical indicating whether to use the new API (`TRUE`)
    or old API (`FALSE`)
  - `gsva_version`: Character string of the installed GSVA version,
    or `"not installed"` if not available
}
\description{
Detects whether the installed GSVA package supports the new
parameter-based API (gsvaParam/ssgseaParam) or the old direct argument API.
This function is used internally to ensure compatibility across different
GSVA package versions (1.50.0+ vs older versions).
}
\keyword{internal}
