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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### 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                    doi                             title
1:  1 10.5281/zenodo.1095665      Peruvian social contact data
2:  2 10.5281/zenodo.1289474   Social contact data for Vietnam
3:  3 10.5281/zenodo.1158452        France social contact data
4:  4 10.5281/zenodo.1215899       POLYMOD social contact data
5:  5 10.5281/zenodo.1251944      Zimbabwe social contact data
6:  6 10.5281/zenodo.1165562 Social contact data for Hong Kong
7:  7 10.5281/zenodo.1215891      Peruvian social contact data
8:  8 10.5281/zenodo.1157919        France social contact data
              creator                               url
1: Carlos G. Grijalva https://zenodo.org/record/1095665
2:        Horby Peter https://zenodo.org/record/1289474
3:   Guillaume Béraud https://zenodo.org/record/1158452
4:       Joël Mossong https://zenodo.org/record/1215899
5:   Alessia Melegaro https://zenodo.org/record/1251944
6:       Kathy  Leung https://zenodo.org/record/1165562
7: Carlos G. Grijalva https://zenodo.org/record/1215891
8:   Guillaume Béraud https://zenodo.org/record/1157919
> peru_survey <- get_survey(1)
Getting Peruvian social contact data.
Downloading https://zenodo.org/api/files/39977467-f8f6-4d66-b55c-d24efe9d9266/2015_Grijalva_Peru_contact_common.csv
Downloading https://zenodo.org/api/files/39977467-f8f6-4d66-b55c-d24efe9d9266/2015_Grijalva_Peru_hh_common.csv
Downloading https://zenodo.org/api/files/39977467-f8f6-4d66-b55c-d24efe9d9266/2015_Grijalva_Peru_hh_extra.csv
Downloading https://zenodo.org/api/files/39977467-f8f6-4d66-b55c-d24efe9d9266/2015_Grijalva_Peru_participant_common.csv
Error in curl_download(x, temp) : HTTP error 504.
Calls: get_survey -> vapply -> FUN -> curl_download
Execution halted