If only_url = FALSE, returns a character string giving the
path to the downloaded file. Otherwise, returns the URL to be downloaded.
Arguments
path
Path to a directory to store the executable.
version
Version tag of the photon release. If NULL,
downloads the latest known version. A list of all
releases can be found here: https://github.com/komoot/photon/releases/.
Ignored if jar is given. If NULL, uses the latest known
version (Currently: 0.6.2).
opensearch
If TRUE, downloads the OpenSearch version of
photon if available. OpenSearch versions are available for photon >= 0.6.0.
only_url
If TRUE, performs a download. Otherwise,
only returns a link to the file.