Learn R Programming

switchr (version 0.14.8)

archive_retries: archive_retries

Description

Get or set the number of times to retry downloading a file from the CRAN archive

This is intended to stop intermittent install failures due to failing to retrieve files that *are* in the archive but are not downloading properly when a larger number of packages is being retrieved.

Usage

archive_retries(x)

# S4 method for SwitchrParam archive_retries(x)

archive_retries(x) <- value

# S4 method for SwitchrParam archive_retries(x) <- value

Value

When getting, the number of seconds to wait, when setting, a new, updated SwitchrParam object.

Arguments

x

A SwitchrParam object

value

The new number of seconds to wait