Running ‘testthat.R’ [10s/12s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(pyMTurkR)
  > 
  > test_dir("testthat")
  ✔ |  OK F W S | Context
  
  ⠏ |   0       | AccountBalance                                                  
  ⠋ |   0     1 | AccountBalance                                                  
  ✔ |   0     1 | AccountBalance [0.2 s]
  ────────────────────────────────────────────────────────────────────────────────
  Skip (test-AccountBalance.R:3:3): AccountBalance
  Reason: CheckAWSKeys() is not TRUE
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | AssignQualification                                             
  ✔ |   0     4 | AssignQualification
  ────────────────────────────────────────────────────────────────────────────────
  Skip (test-AssignQualification.R:3:3): AssignQualification existing Qualification to worker
  Reason: CheckAWSKeys() is not TRUE
  
  Skip (test-AssignQualification.R:15:3): AssignQualification parameter misspecification errors
  Reason: CheckAWSKeys() is not TRUE
  
  Skip (test-AssignQualification.R:30:3): AssignQualification Qualification defined in function call
  Reason: CheckAWSKeys() is not TRUE
  
  Skip (test-AssignQualification.R:43:3): AssignQualification Qualification definition misspecification
  Reason: CheckAWSKeys() is not TRUE
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | BlockWorker                                                     
  ✔ |   0     1 | BlockWorker
  ────────────────────────────────────────────────────────────────────────────────
  Skip (test-BlockWorker.R:2:3): BlockWorker
  Reason: CheckAWSKeys() is not TRUE
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | ChangeHITType                                                   
  ✔ |   0     2 | ChangeHITType
  ────────────────────────────────────────────────────────────────────────────────
  Skip (test-ChangeHITType.R:3:3): ChangeHITType using RegisterHITType
  Reason: CheckAWSKeys() is not TRUE
  
  Skip (test-ChangeHITType.R:94:3): ChangeHITType using new HIT Type defined in function
  Reason: CheckAWSKeys() is not TRUE
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | ContactWorker                                                   
  ✔ |   0     6 | ContactWorker
  ────────────────────────────────────────────────────────────────────────────────
  Skip (test-ContactWorker.R:3:3): ContactWorker one worker, one message
  Reason: CheckAWSKeys() is not TRUE
  
  Skip (test-ContactWorker.R:13:3): ContactWorker two workers
  Reason: CheckAWSKeys() is not TRUE
  
  Skip (test-ContactWorker.R:23:3): ContactWorker 101 workers using batch process
  Reason: CheckAWSKeys() is not TRUE
  
  Skip (test-ContactWorker.R:42:3): ContactWorker incorrect WorkerId specifications
  Reason: CheckAWSKeys() is not TRUE
  
  Skip (test-ContactWorker.R:65:3): ContactWorker incorrect parameter lengths
  Reason: CheckAWSKeys() is not TRUE
  
  Skip (test-ContactWorker.R:83:3): ContactWorker batch process errors
  Reason: CheckAWSKeys() is not TRUE
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | CreateHIT                                                       
  ✔ |   0     2 | CreateHIT
  ────────────────────────────────────────────────────────────────────────────────
  Skip (test-CreateHIT.R:3:3): CreateHIT
  Reason: CheckAWSKeys() is not TRUE
  
  Skip (test-CreateHIT.R:99:3): CreateHIT with incorrect parameters
  Reason: CheckAWSKeys() is not TRUE
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | CreateQualificationType                                         
  ✔ |   0     3 | CreateQualificationType
  ────────────────────────────────────────────────────────────────────────────────
  Skip (test-CreateQualificationType.R:3:3): CreateQualificationType with minimal info
  Reason: CheckAWSKeys() is not TRUE
  
  Skip (test-CreateQualificationType.R:20:3): CreateQualificationType with Qualification Test
  Reason: CheckAWSKeys() is not TRUE
  
  Skip (test-CreateQualificationType.R:42:3): CreateQualificationType with parameter misspecification
  Reason: CheckAWSKeys() is not TRUE
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | DisableHIT                                                      
  ✔ |   0     2 | DisableHIT
  ────────────────────────────────────────────────────────────────────────────────
  Skip (test-DisableHIT.R:3:3): DisableHIT
  Reason: CheckAWSKeys() is not TRUE
  
  Skip (test-DisableHIT.R:102:3): DisableHIT but none found
  Reason: CheckAWSKeys() is not TRUE
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | DisposeQualificationType                                        
  ⠏ |   0       | ExtendHIT                                                       
  ✔ |   0     2 | ExtendHIT
  ────────────────────────────────────────────────────────────────────────────────
  Skip (test-ExtendHIT.R:3:3): ExtendHIT using HITId, HITTypeId, Annotation
  Reason: CheckAWSKeys() is not TRUE
  
  Skip (test-ExtendHIT.R:61:3): ExtendHIT with parameter misspecifications
  Reason: CheckAWSKeys() is not TRUE
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | GenerateHITsFromTemplate                                        
  ✖ |   3 1     | GenerateHITsFromTemplate
  ────────────────────────────────────────────────────────────────────────────────
  FAILURE (test-GenerateHITsFromTemplate.R:35:3): GenerateHITsFromTemplate write files
  file.exists("NewHit1.html") not equal to TRUE.
  1 element mismatch
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | GenerateHTMLQuestion                                            
  ⠋ |   1       | GenerateHTMLQuestion                                            
  ✔ |   2       | GenerateHTMLQuestion [0.7 s]
  
  ⠏ |   0       | GenerateNotification                                            
  ⠋ |   1       | GenerateNotification                                            
  ✔ |   3       | GenerateNotification [5.6 s]
  
  ⠏ |   0       | GenerateQualificationRequirement                                
  ⠦ |  13   4   | GenerateQualificationRequirement                                
  ✔ |  16   5   | GenerateQualificationRequirement [0.1 s]
  ────────────────────────────────────────────────────────────────────────────────
  Warning (test-GenerateQualificationRequirement.R:21:3): GenerateQualificationRequirement
  Categorization/Moderation Masters Qualifications have been removed.
  Using generic Masters Qualification instead.
  Backtrace:
   1. pyMTurkR::GenerateQualificationRequirement(quals.list) test-GenerateQualificationRequirement.R:21:2
  
  Warning (test-GenerateQualificationRequirement.R:21:3): GenerateQualificationRequirement
  IntegerValues not used if Qualification is Exists/DoesNotExist
  Backtrace:
   1. pyMTurkR::GenerateQualificationRequirement(quals.list) test-GenerateQualificationRequirement.R:21:2
  
  Warning (test-GenerateQualificationRequirement.R:21:3): GenerateQualificationRequirement
  IntegerValues not used if Qualification is Exists/DoesNotExist
  Backtrace:
   1. pyMTurkR::GenerateQualificationRequirement(quals.list) test-GenerateQualificationRequirement.R:21:2
  
  Warning (test-GenerateQualificationRequirement.R:112:3): GenerateQualificationRequirement errors
  LocaleValues not used if Qualification is Exists/DoesNotExist
  Backtrace:
   1. pyMTurkR::GenerateQualificationRequirement(quals.list) test-GenerateQualificationRequirement.R:112:2
  
  Warning (test-GenerateQualificationRequirement.R:124:3): GenerateQualificationRequirement errors
  IntegerValues not used if Qualification is Exists/DoesNotExist
  Backtrace:
   1. pyMTurkR::GenerateQualificationRequirement(quals.list) test-GenerateQualificationRequirement.R:124:2
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | GenerateReviewPolicy                                            
  ⠹ |  13       | GenerateReviewPolicy                                            
  ✔ |  14       | GenerateReviewPolicy [0.1 s]
  
  ⠏ |   0       | GetAssignment                                                   
  ✔ |   0     1 | GetAssignment
  ────────────────────────────────────────────────────────────────────────────────
  Skip (test-GetAssignment.R:3:3): GetAssignment
  Reason: CheckAWSKeys() is not TRUE
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | GetBlockedWorkers                                               
  ✔ |   0     1 | GetBlockedWorkers
  ────────────────────────────────────────────────────────────────────────────────
  Skip (test-GetBlockedWorkers.R:3:3): GetBlockedWorkers
  Reason: CheckAWSKeys() is not TRUE
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | GetBonuses                                                      
  ✔ |   0     1 | GetBonuses
  ────────────────────────────────────────────────────────────────────────────────
  Skip (test-GetBonuses.R:3:3): GetBonuses
  Reason: CheckAWSKeys() is not TRUE
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | GetClient                                                       
  ⠏ |   0       | GetHIT                                                          
  ⠏ |   0       | GetHITsForQualificationType                                     
  ✔ |   0     1 | GetHITsForQualificationType
  ────────────────────────────────────────────────────────────────────────────────
  Skip (test-GetHITsForQualificationType.R:2:3): GetHITsForQualificationType
  Reason: CheckAWSKeys() is not TRUE
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | GetQualificationRequests                                        
  ✔ |   0     2 | GetQualificationRequests
  ────────────────────────────────────────────────────────────────────────────────
  Skip (test-GetQualificationRequests.R:2:3): GetQualificationRequests
  Reason: CheckAWSKeys() is not TRUE
  
  Skip (test-GetQualificationRequests.R:17:3): GetQualificationRequests error don't own qual
  Reason: CheckAWSKeys() is not TRUE
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | GetQualificationScore                                           
  ✔ |   0     1 | GetQualificationScore
  ────────────────────────────────────────────────────────────────────────────────
  Skip (test-GetQualificationScore.R:2:3): GetQualificationScore
  Reason: CheckAWSKeys() is not TRUE
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | GetQualificationType                                            
  ✔ |   0     1 | GetQualificationType
  ────────────────────────────────────────────────────────────────────────────────
  Skip (test-GetQualificationType.R:2:3): GetQualificationType
  Reason: CheckAWSKeys() is not TRUE
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | GetQualifications                                               
  ✔ |   0     1 | GetQualifications
  ────────────────────────────────────────────────────────────────────────────────
  Skip (test-GetQualifications.R:2:3): GetQualifications
  Reason: CheckAWSKeys() is not TRUE
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | GetReviewResultsForHIT                                          
  ✔ |   0     1 | GetReviewResultsForHIT
  ────────────────────────────────────────────────────────────────────────────────
  Skip (test-GetReviewResultsForHIT.R:3:3): GetReviewResultsForHIT
  Reason: CheckAWSKeys() is not TRUE
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | GetReviewableHITs                                               
  ✔ |   0     1 | GetReviewableHITs
  ────────────────────────────────────────────────────────────────────────────────
  Skip (test-GetReviewableHITs.R:3:3): GetReviewableHITs
  Reason: CheckAWSKeys() is not TRUE
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | GrantBonus                                                      
  ✔ |   0     3 | GrantBonus
  ────────────────────────────────────────────────────────────────────────────────
  Skip (test-GrantBonus.R:3:3): GrantBonus one worker, one bonus
  Reason: CheckAWSKeys() is not TRUE
  
  Skip (test-GrantBonus.R:25:3): GrantBonus incorrect WorkerId specifications
  Reason: CheckAWSKeys() is not TRUE
  
  Skip (test-GrantBonus.R:47:3): ContactWorker incorrect parameter lengths
  Reason: CheckAWSKeys() is not TRUE
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | GrantQualification                                              
  ✔ |   0     1 | GrantQualification
  ────────────────────────────────────────────────────────────────────────────────
  Skip (test-GrantQualification.R:2:3): GrantQualification
  Reason: CheckAWSKeys() is not TRUE
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | HITStatus                                                       
  ✔ |   0     1 | HITStatus
  ────────────────────────────────────────────────────────────────────────────────
  Skip (test-HITStatus.R:3:3): HITStatus
  Reason: CheckAWSKeys() is not TRUE
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | RegisterHITType                                                 
  ⠏ |   0       | RejectAssignment                                                
  ✔ |   0     1 | RejectAssignment
  ────────────────────────────────────────────────────────────────────────────────
  Skip (test-RejectAssignment.R:3:3): RejectAssignment
  Reason: CheckAWSKeys() is not TRUE
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | RejectQualification                                             
  ✔ |   0     1 | RejectQualification
  ────────────────────────────────────────────────────────────────────────────────
  Skip (test-RejectQualification.R:2:3): RejectQualification
  Reason: CheckAWSKeys() is not TRUE
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | SearchQualificationTypes                                        
  ✔ |   0     3 | SearchQualificationTypes
  ────────────────────────────────────────────────────────────────────────────────
  Skip (test-SearchQualificationTypes.R:3:3): SearchQuals
  Reason: CheckAWSKeys() is not TRUE
  
  Skip (test-SearchQualificationTypes.R:9:3): SearchQuals search query
  Reason: CheckAWSKeys() is not TRUE
  
  Skip (test-SearchQualificationTypes.R:16:3): SearchQuals two results
  Reason: CheckAWSKeys() is not TRUE
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | SendTestEventNotification                                       
  ✔ |   0     1 | SendTestEventNotification
  ────────────────────────────────────────────────────────────────────────────────
  Skip (test-SendTestEventNotification.R:2:3): SetHITTypeNotification
  Reason: CheckAWSKeys() is not TRUE
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | SetHITAsReviewing                                               
  ✔ |   0     1 | SetHITAsReviewing
  ────────────────────────────────────────────────────────────────────────────────
  Skip (test-SetHITAsReviewing.R:2:3): multiplication works
  Reason: CheckAWSKeys() is not TRUE
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | SetHITTypeNotification                                          
  ✔ |   0     1 | SetHITTypeNotification
  ────────────────────────────────────────────────────────────────────────────────
  Skip (test-SetHITTypeNotification.R:2:3): multiplication works
  Reason: CheckAWSKeys() is not TRUE
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | UnblockWorker                                                   
  ✔ |   0     1 | UnblockWorker
  ────────────────────────────────────────────────────────────────────────────────
  Skip (test-UnblockWorker.R:2:3): UnblockWorker
  Reason: CheckAWSKeys() is not TRUE
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | UpdateQualificationScore                                        
  ✔ |   0     1 | UpdateQualificationScore
  ────────────────────────────────────────────────────────────────────────────────
  Skip (test-UpdateQualificationScore.R:2:3): UpdateQualificationScore
  Reason: CheckAWSKeys() is not TRUE
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | UpdateQualificationType                                         Error in fun(Name = "X64020885", Description = "Qual002", QualificationTypeStatus = "Active",  : 
    could not find function "fun"
  
  ✖ |   0 1   1 | UpdateQualificationType
  ────────────────────────────────────────────────────────────────────────────────
  Skip (test-UpdateQualificationType.R:2:3): UpdateQualificationType
  Reason: CheckAWSKeys() is not TRUE
  
  ERROR (test-UpdateQualificationType.R:30:3): UpdateQualificationType with Qualification Test
  Error: Unable to create qualification
  Backtrace:
   1. pyMTurkR::CreateQualificationType(...) test-UpdateQualificationType.R:30:2
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | testxlast1-ApproveAssignment                                    
  ✔ |   0     1 | testxlast1-ApproveAssignment
  ────────────────────────────────────────────────────────────────────────────────
  Skip (testxlast1-ApproveAssignment.R:3:3): ApproveAssignment with AssignmentId
  Reason: CheckAWSKeys() is not TRUE
  ────────────────────────────────────────────────────────────────────────────────
  
  ⠏ |   0       | testxlast2-ApproveAllAssignments                                
  ✔ |   0     7 | testxlast2-ApproveAllAssignments
  ────────────────────────────────────────────────────────────────────────────────
  Skip (testxlast2-ApproveAllAssignments.R:3:3): ApproveAllAssignments with more than one feedback
  Reason: CheckAWSKeys() is not TRUE
  
  Skip (testxlast2-ApproveAllAssignments.R:10:3): ApproveAllAssignments with missing parameters
  Reason: CheckAWSKeys() is not TRUE
  
  Skip (testxlast2-ApproveAllAssignments.R:16:3): ApproveAllAssignments with hit.type
  Reason: CheckAWSKeys() is not TRUE
  
  Skip (testxlast2-ApproveAllAssignments.R:32:3): ApproveAllAssignments with hit
  Reason: CheckAWSKeys() is not TRUE
  
  Skip (testxlast2-ApproveAllAssignments.R:46:3): ApproveAllAssignments with feedback that's too long
  Reason: CheckAWSKeys() is not TRUE
  
  Skip (testxlast2-ApproveAllAssignments.R:62:3): ApproveAllAssignments with annotation
  Reason: CheckAWSKeys() is not TRUE
  
  Skip (testxlast2-ApproveAllAssignments.R:81:3): ApproveAllAssignments when Assignments are not found
  Reason: CheckAWSKeys() is not TRUE
  ────────────────────────────────────────────────────────────────────────────────
  
  ══ Results ═════════════════════════════════════════════════════════════════════
  Duration: 8.1 s
  
  ── Skipped tests  ──────────────────────────────────────────────────────────────
  ● CheckAWSKeys() is not TRUE (58)
  
  [ FAIL 2 | WARN 5 | SKIP 58 | PASS 38 ]
  Error: Test failures
  Execution halted