Running 'testthat.R' [173s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(spiritR)
  > 
  > test_check("spiritR")
  <?xml version="1.0" encoding="UTF-8"?>
  <study_collection xmlns:prs="http://clinicaltrials.gov/prs">
    <clinical_study>
      <id_info>
        <org_name>UHNToronto</org_name>
        <org_study_id>Foo trial 20190311</org_study_id>
      </id_info>
      <is_fda_regulated/>
      <is_section_801/>
      <delayed_posting/>
      <is_ind_study/>
      <brief_title>Foo trial to test auto upload 20190311</brief_title>
      <acronym>N/A</acronym>
      <official_title>Foo trial to test auto upload: A randomized trial new 20190311</official_title>
      <sponsors>
        <lead_sponsor>
          <agency>Aaron Conway</agency>
        </lead_sponsor>
        <resp_party>
          <resp_party_type>Sponsor-Investigator</resp_party_type>
          <investigator_username>aconway</investigator_username>
          <investigator_title>Assistant Professor</investigator_title>
          <investigator_affiliation/>
          <name_title/>
          <organization/>
          <phone/>
          <phone_ext/>
          <email/>
        </resp_party>
      </sponsors>
      <oversight_info>
        <irb_info>
          <approval_status/>
        </irb_info>
        <has_dmc/>
        <fda_regulated_drug/>
        <fda_regulated_device/>
        <post_prior_to_approval/>
      </oversight_info>
      <brief_summary>
        <textblock>Lay summary here</textblock>
      </brief_summary>
      <detailed_description>
        <textblock/>
      </detailed_description>
      <overall_status>Not yet recruiting</overall_status>
      <why_stopped/>
      <verification_date/>
      <start_date>2019-10</start_date>
      <start_date_type>Anticipated</start_date_type>
      <end_date/>
      <last_follow_up_date>2020-12</last_follow_up_date>
      <last_follow_up_date_type>Anticipated</last_follow_up_date_type>
      <prim_compl_date>2020-12</prim_compl_date>
      <primary_compl_date_type>Anticipated</primary_compl_date_type>
      <study_design>
        <study_type>Interventional</study_type>
        <interventional_design>
          <interventional_subtype>Treatment</interventional_subtype>
          <phase>N/A</phase>
          <assignment>Parallel</assignment>
          <model_description>
            <textblock/>
          </model_description>
          <allocation>Randomized</allocation>
          <masking/>
          <no_masking>False</no_masking>
          <masked_subject>True</masked_subject>
          <masked_caregiver>True</masked_caregiver>
          <masked_investigator>True</masked_investigator>
          <masked_assesor>True</masked_assesor>
          <masking_description>
            <textblock/>
          </masking_description>
          <control/>
          <number_of_arms>2</number_of_arms>
        </interventional_design>
      </study_design>
      <primary_outcome/>
      <primary_outcome>
        <outcome_measure>measure</outcome_measure>
        <outcome_time_frame>timeframe</outcome_time_frame>
        <outcome_description>
          <textblock>description</textblock>
        </outcome_description>
      </primary_outcome>
      <primary_outcome>
        <outcome_measure>measure</outcome_measure>
        <outcome_time_frame>timeframe</outcome_time_frame>
        <outcome_description>
          <textblock>description</textblock>
        </outcome_description>
      </primary_outcome>
      <secondary_outcome/>
      <enrollment>40</enrollment>
      <enrollment_type>Anticipated</enrollment_type>
      <condition/>
      <keyword/>
      <arm_group/>
      <arm_group>
        <arm_group_label>Standard</arm_group_label>
        <arm_type>Experimental</arm_type>
        <arm_group_description>
          <textblock>Description for arm</textblock>
        </arm_group_description>
      </arm_group>
      <intervention/>
      <intervention>
        <intervention_type>Device</intervention_type>
        <intervention_name>test intervention</intervention_name>
        <intervention_description>
          <textblock>description for intervention</textblock>
        </intervention_description>
        <arm_group_label>Intervention</arm_group_label>
      </intervention>
      <eligibility>
        <study_population>
          <textblock/>
        </study_population>
        <sampling_method/>
        <criteria>
          <textblock>details</textblock>
        </criteria>
        <healthy_volunteers>No</healthy_volunteers>
        <gender>Both</gender>
        <gender_based>No</gender_based>
        <gender_description>
          <textblock/>
        </gender_description>
        <minimum_age>N/A</minimum_age>
        <maximum_age>N/A</maximum_age>
      </eligibility>
      <overall_official>
        <first_name>hjkdskja</first_name>
        <middle_name/>
        <last_name>fhdjksah</last_name>
        <degrees>ffj</degrees>
        <role>fhdjhsfjk</role>
        <affiliation>fdjkhf</affiliation>
      </overall_official>
      <overall_contact>
        <first_name>Aaron</first_name>
        <middle_name/>
        <last_name>Conway</last_name>
        <degrees>PhD</degrees>
        <phone>649-728-8499</phone>
        <phone_ext/>
        <email>dhsksj@hfhfk.com</email>
      </overall_contact>
      <overall_contact_backup>
        <first_name/>
        <middle_name/>
        <last_name/>
        <degrees/>
        <phone/>
        <phone_ext/>
        <email/>
      </overall_contact_backup>
      <ipd_sharing_statement>
        <sharing_ipd>Yes</sharing_ipd>
        <ipd_description>
          <textblock>detils</textblock>
        </ipd_description>
        <ipd_info_type_protocol>True</ipd_info_type_protocol>
        <ipd_info_type_sap>True</ipd_info_type_sap>
        <ipd_info_type_icf>True</ipd_info_type_icf>
        <ipd_info_type_csr>True</ipd_info_type_csr>
        <ipd_info_type_analytic_code>True</ipd_info_type_analytic_code>
        <ipd_time_frame>
          <textblock>detials</textblock>
        </ipd_time_frame>
        <ipd_access_criteria>
          <textblock>details</textblock>
        </ipd_access_criteria>
        <ipd_url>http://www.fhkf.com</ipd_url>
      </ipd_sharing_statement>
    </clinical_study>
  </study_collection>
  [ FAIL 0 | WARN 0 | SKIP 0 | PASS 6 ]
  > 
  > proc.time()
     user  system elapsed 
     0.70    0.14    0.81