Running examples in 'socialmixr-Ex.R' failed
The error most likely occurred in:

> ### Name: get_survey
> ### Title: Get a survey, either from its Zenodo repository, a set of files,
> ###   or a survey variable
> ### Aliases: get_survey
> 
> ### ** Examples
> 
> list_surveys()
    id       date
 1:  1 2017-12-07
 2:  2 2017-12-07
 3:  3 2017-11-07
 4:  4 2018-06-14
 5:  5 2018-09-05
 6:  6 2018-01-23
 7:  7 2018-01-23
 8:  8 2017-12-22
 9:  9 2017-12-22
10: 10 2017-12-22
11: 11 2018-02-05
12: 12 2019-01-24
                                                             title
 1:                                   Peruvian social contact data
 2:                                   Peruvian social contact data
 3:                                    POLYMOD social contact data
 4:                                Social contact data for Vietnam
 5:                                     Social contact data for UK
 6:                                     France social contact data
 7:                                     France social contact data
 8:                                   Zimbabwe social contact data
 9:                                   Zimbabwe social contact data
10:                                   Zimbabwe social contact data
11:                              Social contact data for Hong Kong
12: Social contact data for Zambia and South Africa (CODA dataset)
                creator                                    url
 1:  Carlos G. Grijalva https://doi.org/10.5281/zenodo.1095664
 2:  Carlos G. Grijalva https://doi.org/10.5281/zenodo.1095664
 3:        Joël Mossong https://doi.org/10.5281/zenodo.1043437
 4:         Horby Peter https://doi.org/10.5281/zenodo.1289473
 5: Albert Jan van Hoek https://doi.org/10.5281/zenodo.1409506
 6:    Guillaume Béraud https://doi.org/10.5281/zenodo.1157918
 7:    Guillaume Béraud https://doi.org/10.5281/zenodo.1157918
 8:    Alessia Melegaro https://doi.org/10.5281/zenodo.1127693
 9:    Alessia Melegaro https://doi.org/10.5281/zenodo.1127693
10:    Alessia Melegaro https://doi.org/10.5281/zenodo.1127693
11:        Kathy  Leung https://doi.org/10.5281/zenodo.1165561
12:       Peter J. Dodd https://doi.org/10.5281/zenodo.2548692
> peru_survey <- get_survey(1)
Getting Peruvian social contact data.
Downloading https://zenodo.org/api/files/1ac98cd6-ac8a-4c9b-8501-5405dc02fc7e/2015_Grijalva_Peru_contact_common.csv
Downloading https://zenodo.org/api/files/1ac98cd6-ac8a-4c9b-8501-5405dc02fc7e/2015_Grijalva_Peru_hh_common.csv
Error in curl_download(x, temp) : HTTP error 500.
Calls: get_survey -> vapply -> FUN -> curl_download
Execution halted