archive_retries {switchr}R Documentation

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 signature 'SwitchrParam'
archive_retries(x)

archive_retries(x) <- value

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

Arguments

x

A SwitchrParam object

value

The new number of seconds to wait

Value

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


[Package switchr version 0.14.8 Index]