% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/go.R
\name{fetch_go_species}
\alias{fetch_go_species}
\title{Find all species available from geneontology.org}
\usage{
fetch_go_species(on_error = c("stop", "warn", "ignore"))
}
\arguments{
\item{on_error}{A character string indicating the error handling strategy:
either "stop" to halt execution, "warn" to issue a warning and return
`NULL` or "ignore" to return `NULL` without warnings. Defaults to "stop".
This argument is retained for API compatibility; the current implementation
reads a packaged data table rather than querying a remote server.}
}
\value{
A tibble with columns \code{species} and \code{designation}.
}
\description{
This function returns a fixed table of Gene Ontology species designations
included with the package. It is a temporary compatibility patch for legacy
Gene Ontology GAF file names such as \file{goa_human.gaf.gz},
\file{mgi.gaf.gz}, and \file{sgd.gaf.gz}. These legacy file names are still
served by Gene Ontology, but they are no longer listed on the annotation
downloads page that this function previously scraped.
}
\details{
The returned table may therefore become stale if Gene Ontology removes or
changes the legacy download paths. A future version of \pkg{fenr} may replace
this snapshot with a different discovery mechanism or with the newer
Gene Ontology annotation file names.
}
\examples{
go_species <- fetch_go_species(on_error = "warn")
}
