qa_mirror: Get or set the Quantarctica download mirror site to use

View source: R/mirrors.R

qa_mirrorR Documentation

Get or set the Quantarctica download mirror site to use

Description

Get or set the Quantarctica download mirror site to use

Usage

qa_mirror(mirror)

Arguments

mirror

string: the URL of the mirror to use

Value

If called with no arguments, the current mirror URL will be returned as a string. If called with a mirror argument, the mirror will be set to that and then the mirror URL returned.

See Also

qa_mirrors

Examples


## current mirror
qa_mirror()

## all available mirrors
qa_mirrors()

## set to first mirror in that list
qa_mirror(qa_mirrors()$url[1])

## or equivalently
qa_mirror(qa_mirrors()[1, ])


SCAR-sandpit/quantarcticR documentation built on June 10, 2025, 5:12 a.m.