Last updated on 2020-11-16 07:51:58 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.1.4 | 15.99 | 70.91 | 86.90 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 1.1.4 | 10.49 | 55.83 | 66.32 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 1.1.4 | 110.55 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 1.1.4 | 103.96 | ERROR | |||
r-devel-windows-ix86+x86_64 | 1.1.4 | 17.00 | 62.00 | 79.00 | ERROR | |
r-patched-linux-x86_64 | 1.1.4 | 14.65 | 65.93 | 80.58 | ERROR | |
r-patched-solaris-x86 | 1.1.4 | 128.20 | ERROR | |||
r-release-linux-x86_64 | 1.1.4 | 11.32 | 65.35 | 76.67 | ERROR | |
r-release-macos-x86_64 | 1.1.4 | OK | ||||
r-release-windows-ix86+x86_64 | 1.1.4 | 17.00 | 78.00 | 95.00 | ERROR | |
r-oldrel-macos-x86_64 | 1.1.4 | OK | ||||
r-oldrel-windows-ix86+x86_64 | 1.1.4 | 14.00 | 62.00 | 76.00 | ERROR |
Version: 1.1.4
Check: tests
Result: ERROR
Running 'testthat.R' [6s/7s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(pyMTurkR)
>
> test_dir("testthat")
v | OK F W S | Context
/ | 0 | AccountBalance
v | 0 1 | AccountBalance
--------------------------------------------------------------------------------
Skip (test-AccountBalance.R:3:3): AccountBalance
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | AssignQualification
v | 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
v | 0 1 | BlockWorker
--------------------------------------------------------------------------------
Skip (test-BlockWorker.R:2:3): BlockWorker
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | ChangeHITType
v | 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
v | 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
v | 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
v | 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
v | 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
v | 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
x | 3 1 | GenerateHITsFromTemplate [0.1 s]
--------------------------------------------------------------------------------
FAILURE (test-GenerateHITsFromTemplate.R:35:3): GenerateHITsFromTemplate write files
file.exists("NewHit1.html") not equal to TRUE.
1 element mismatch
--------------------------------------------------------------------------------
/ | 0 | GenerateHTMLQuestion
- | 1 | GenerateHTMLQuestion
v | 2 | GenerateHTMLQuestion [0.5 s]
/ | 0 | GenerateNotification
- | 1 | GenerateNotification
v | 3 | GenerateNotification [3.1 s]
/ | 0 | GenerateQualificationRequirement
v | 16 5 | GenerateQualificationRequirement
--------------------------------------------------------------------------------
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
v | 14 | GenerateReviewPolicy
/ | 0 | GetAssignment
v | 0 1 | GetAssignment
--------------------------------------------------------------------------------
Skip (test-GetAssignment.R:3:3): GetAssignment
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GetBlockedWorkers
v | 0 1 | GetBlockedWorkers
--------------------------------------------------------------------------------
Skip (test-GetBlockedWorkers.R:3:3): GetBlockedWorkers
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GetBonuses
v | 0 1 | GetBonuses
--------------------------------------------------------------------------------
Skip (test-GetBonuses.R:3:3): GetBonuses
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GetClient
/ | 0 | GetHIT
/ | 0 | GetHITsForQualificationType
v | 0 1 | GetHITsForQualificationType
--------------------------------------------------------------------------------
Skip (test-GetHITsForQualificationType.R:2:3): GetHITsForQualificationType
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GetQualificationRequests
v | 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
v | 0 1 | GetQualificationScore
--------------------------------------------------------------------------------
Skip (test-GetQualificationScore.R:2:3): GetQualificationScore
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GetQualificationType
v | 0 1 | GetQualificationType
--------------------------------------------------------------------------------
Skip (test-GetQualificationType.R:2:3): GetQualificationType
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GetQualifications
v | 0 1 | GetQualifications
--------------------------------------------------------------------------------
Skip (test-GetQualifications.R:2:3): GetQualifications
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GetReviewResultsForHIT
v | 0 1 | GetReviewResultsForHIT
--------------------------------------------------------------------------------
Skip (test-GetReviewResultsForHIT.R:3:3): GetReviewResultsForHIT
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GetReviewableHITs
v | 0 1 | GetReviewableHITs
--------------------------------------------------------------------------------
Skip (test-GetReviewableHITs.R:3:3): GetReviewableHITs
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GrantBonus
v | 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
v | 0 1 | GrantQualification
--------------------------------------------------------------------------------
Skip (test-GrantQualification.R:2:3): GrantQualification
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | HITStatus
v | 0 1 | HITStatus
--------------------------------------------------------------------------------
Skip (test-HITStatus.R:3:3): HITStatus
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | RegisterHITType
/ | 0 | RejectAssignment
v | 0 1 | RejectAssignment
--------------------------------------------------------------------------------
Skip (test-RejectAssignment.R:3:3): RejectAssignment
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | RejectQualification
v | 0 1 | RejectQualification
--------------------------------------------------------------------------------
Skip (test-RejectQualification.R:2:3): RejectQualification
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | SearchQualificationTypes
v | 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
v | 0 1 | SendTestEventNotification
--------------------------------------------------------------------------------
Skip (test-SendTestEventNotification.R:2:3): SetHITTypeNotification
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | SetHITAsReviewing
v | 0 1 | SetHITAsReviewing
--------------------------------------------------------------------------------
Skip (test-SetHITAsReviewing.R:2:3): multiplication works
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | SetHITTypeNotification
v | 0 1 | SetHITTypeNotification
--------------------------------------------------------------------------------
Skip (test-SetHITTypeNotification.R:2:3): multiplication works
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | UnblockWorker
v | 0 1 | UnblockWorker
--------------------------------------------------------------------------------
Skip (test-UnblockWorker.R:2:3): UnblockWorker
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | UpdateQualificationScore
v | 0 1 | UpdateQualificationScore
--------------------------------------------------------------------------------
Skip (test-UpdateQualificationScore.R:2:3): UpdateQualificationScore
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | UpdateQualificationType Error in fun(Name = "X21616945", Description = "Qual002", QualificationTypeStatus = "Active", :
could not find function "fun"
x | 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
v | 0 1 | testxlast1-ApproveAssignment
--------------------------------------------------------------------------------
Skip (testxlast1-ApproveAssignment.R:3:3): ApproveAssignment with AssignmentId
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | testxlast2-ApproveAllAssignments
v | 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: 4.6 s
-- Skipped tests --------------------------------------------------------------
* CheckAWSKeys() is not TRUE (58)
[ FAIL 2 | WARN 5 | SKIP 58 | PASS 38 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 1.1.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [4s/7s]
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
────────────────────────────────────────────────────────────────────────────────
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
✖ | 3 1 | GenerateHITsFromTemplate [0.1 s]
────────────────────────────────────────────────────────────────────────────────
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.5 s]
⠏ | 0 | GenerateNotification
⠋ | 1 | GenerateNotification
✔ | 3 | GenerateNotification [2.9 s]
⠏ | 0 | GenerateQualificationRequirement
✔ | 16 5 | GenerateQualificationRequirement
────────────────────────────────────────────────────────────────────────────────
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 = "X71372939", 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: 4.4 s
── Skipped tests ──────────────────────────────────────────────────────────────
● CheckAWSKeys() is not TRUE (58)
[ FAIL 2 | WARN 5 | SKIP 58 | PASS 38 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.1.4
Check: tests
Result: ERROR
Running ‘testthat.R’
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.1 s]
────────────────────────────────────────────────────────────────────────────────
Skip (test-AccountBalance.R:3:3): AccountBalance
Reason: CheckAWSKeys() is not TRUE
────────────────────────────────────────────────────────────────────────────────
⠏ | 0 | AssignQualification
⠹ | 0 3 | AssignQualification
✔ | 0 4 | AssignQualification [0.1 s]
────────────────────────────────────────────────────────────────────────────────
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.4 s]
⠏ | 0 | GenerateNotification
⠋ | 1 | GenerateNotification
✔ | 3 | GenerateNotification [3.8 s]
⠏ | 0 | GenerateQualificationRequirement
⠸ | 11 3 | 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
✔ | 14 | GenerateReviewPolicy
⠏ | 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 = "X43970926", 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: 5.4 s
── Skipped tests ──────────────────────────────────────────────────────────────
● CheckAWSKeys() is not TRUE (58)
[ FAIL 2 | WARN 5 | SKIP 58 | PASS 38 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 1.1.4
Check: tests
Result: ERROR
Running ‘testthat.R’
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
────────────────────────────────────────────────────────────────────────────────
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.4 s]
⠏ | 0 | GenerateNotification
⠋ | 1 | GenerateNotification
✔ | 3 | GenerateNotification [4.5 s]
⠏ | 0 | GenerateQualificationRequirement
⠋ | 8 3 | 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 = "X48045069", 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: 6.3 s
── Skipped tests ──────────────────────────────────────────────────────────────
● CheckAWSKeys() is not TRUE (58)
[ FAIL 2 | WARN 5 | SKIP 58 | PASS 38 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 1.1.4
Check: tests
Result: ERROR
Running 'testthat.R' [7s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(pyMTurkR)
>
> test_dir("testthat")
v | OK F W S | Context
/ | 0 | AccountBalance
v | 0 1 | AccountBalance
--------------------------------------------------------------------------------
Skip (test-AccountBalance.R:3:3): AccountBalance
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | AssignQualification
v | 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
v | 0 1 | BlockWorker
--------------------------------------------------------------------------------
Skip (test-BlockWorker.R:2:3): BlockWorker
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | ChangeHITType
v | 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
v | 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
v | 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
v | 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
v | 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
v | 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
v | 4 | GenerateHITsFromTemplate
/ | 0 | GenerateHTMLQuestion
- | 1 | GenerateHTMLQuestion
v | 2 | GenerateHTMLQuestion [0.3 s]
/ | 0 | GenerateNotification
- | 1 | GenerateNotification
v | 3 | GenerateNotification [3.8 s]
/ | 0 | GenerateQualificationRequirement
v | 16 5 | GenerateQualificationRequirement
--------------------------------------------------------------------------------
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
v | 14 | GenerateReviewPolicy
/ | 0 | GetAssignment
v | 0 1 | GetAssignment
--------------------------------------------------------------------------------
Skip (test-GetAssignment.R:3:3): GetAssignment
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GetBlockedWorkers
v | 0 1 | GetBlockedWorkers
--------------------------------------------------------------------------------
Skip (test-GetBlockedWorkers.R:3:3): GetBlockedWorkers
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GetBonuses
v | 0 1 | GetBonuses
--------------------------------------------------------------------------------
Skip (test-GetBonuses.R:3:3): GetBonuses
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GetClient
/ | 0 | GetHIT
/ | 0 | GetHITsForQualificationType
v | 0 1 | GetHITsForQualificationType
--------------------------------------------------------------------------------
Skip (test-GetHITsForQualificationType.R:2:3): GetHITsForQualificationType
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GetQualificationRequests
v | 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
v | 0 1 | GetQualificationScore
--------------------------------------------------------------------------------
Skip (test-GetQualificationScore.R:2:3): GetQualificationScore
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GetQualificationType
v | 0 1 | GetQualificationType
--------------------------------------------------------------------------------
Skip (test-GetQualificationType.R:2:3): GetQualificationType
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GetQualifications
v | 0 1 | GetQualifications
--------------------------------------------------------------------------------
Skip (test-GetQualifications.R:2:3): GetQualifications
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GetReviewResultsForHIT
v | 0 1 | GetReviewResultsForHIT
--------------------------------------------------------------------------------
Skip (test-GetReviewResultsForHIT.R:3:3): GetReviewResultsForHIT
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GetReviewableHITs
v | 0 1 | GetReviewableHITs
--------------------------------------------------------------------------------
Skip (test-GetReviewableHITs.R:3:3): GetReviewableHITs
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GrantBonus
v | 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
v | 0 1 | GrantQualification
--------------------------------------------------------------------------------
Skip (test-GrantQualification.R:2:3): GrantQualification
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | HITStatus
v | 0 1 | HITStatus
--------------------------------------------------------------------------------
Skip (test-HITStatus.R:3:3): HITStatus
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | RegisterHITType
/ | 0 | RejectAssignment
v | 0 1 | RejectAssignment
--------------------------------------------------------------------------------
Skip (test-RejectAssignment.R:3:3): RejectAssignment
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | RejectQualification
v | 0 1 | RejectQualification
--------------------------------------------------------------------------------
Skip (test-RejectQualification.R:2:3): RejectQualification
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | SearchQualificationTypes
v | 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
v | 0 1 | SendTestEventNotification
--------------------------------------------------------------------------------
Skip (test-SendTestEventNotification.R:2:3): SetHITTypeNotification
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | SetHITAsReviewing
v | 0 1 | SetHITAsReviewing
--------------------------------------------------------------------------------
Skip (test-SetHITAsReviewing.R:2:3): multiplication works
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | SetHITTypeNotification
v | 0 1 | SetHITTypeNotification
--------------------------------------------------------------------------------
Skip (test-SetHITTypeNotification.R:2:3): multiplication works
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | UnblockWorker
v | 0 1 | UnblockWorker
--------------------------------------------------------------------------------
Skip (test-UnblockWorker.R:2:3): UnblockWorker
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | UpdateQualificationScore
v | 0 1 | UpdateQualificationScore
--------------------------------------------------------------------------------
Skip (test-UpdateQualificationScore.R:2:3): UpdateQualificationScore
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | UpdateQualificationType Error in fun(Name = "X99746409", Description = "Qual002", QualificationTypeStatus = "Active", :
could not find function "fun"
x | 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
v | 0 1 | testxlast1-ApproveAssignment
--------------------------------------------------------------------------------
Skip (testxlast1-ApproveAssignment.R:3:3): ApproveAssignment with AssignmentId
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | testxlast2-ApproveAllAssignments
v | 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: 5.0 s
-- Skipped tests --------------------------------------------------------------
* CheckAWSKeys() is not TRUE (58)
[ FAIL 1 | WARN 5 | SKIP 58 | PASS 39 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-ix86+x86_64
Version: 1.1.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [6s/7s]
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 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 [0.1 s]
────────────────────────────────────────────────────────────────────────────────
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.3 s]
⠏ | 0 | GenerateNotification
⠋ | 1 | GenerateNotification
✔ | 3 | GenerateNotification [3.0 s]
⠏ | 0 | GenerateQualificationRequirement
⠏ | 7 3 | 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
⠼ | 5 | 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 [0.2 s]
────────────────────────────────────────────────────────────────────────────────
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 = "X19952108", 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: 4.8 s
── Skipped tests ──────────────────────────────────────────────────────────────
● CheckAWSKeys() is not TRUE (58)
[ FAIL 2 | WARN 5 | SKIP 58 | PASS 38 ]
Error: Test failures
Execution halted
Flavor: r-patched-linux-x86_64
Version: 1.1.4
Check: tests
Result: ERROR
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
Flavor: r-patched-solaris-x86
Version: 1.1.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [6s/7s]
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 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.5 s]
⠏ | 0 | GenerateNotification
⠋ | 1 | GenerateNotification
✔ | 3 | GenerateNotification [2.9 s]
⠏ | 0 | GenerateQualificationRequirement
⠹ | 10 3 | 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
⠦ | 7 | 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 [0.2 s]
────────────────────────────────────────────────────────────────────────────────
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 = "X55626110", 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: 4.8 s
── Skipped tests ──────────────────────────────────────────────────────────────
● CheckAWSKeys() is not TRUE (58)
[ FAIL 2 | WARN 5 | SKIP 58 | PASS 38 ]
Error: Test failures
Execution halted
Flavor: r-release-linux-x86_64
Version: 1.1.4
Check: tests
Result: ERROR
Running 'testthat.R' [7s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(pyMTurkR)
>
> test_dir("testthat")
v | OK F W S | Context
/ | 0 | AccountBalance
v | 0 1 | AccountBalance [0.1 s]
--------------------------------------------------------------------------------
Skip (test-AccountBalance.R:3:3): AccountBalance
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | AssignQualification
v | 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
v | 0 1 | BlockWorker
--------------------------------------------------------------------------------
Skip (test-BlockWorker.R:2:3): BlockWorker
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | ChangeHITType
v | 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
v | 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
v | 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
v | 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
v | 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
v | 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
v | 4 | GenerateHITsFromTemplate
/ | 0 | GenerateHTMLQuestion
- | 1 | GenerateHTMLQuestion
v | 2 | GenerateHTMLQuestion [0.3 s]
/ | 0 | GenerateNotification
- | 1 | GenerateNotification
v | 3 | GenerateNotification [3.6 s]
/ | 0 | GenerateQualificationRequirement
\ | 7 3 | GenerateQualificationRequirement
v | 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
v | 14 | GenerateReviewPolicy
/ | 0 | GetAssignment
v | 0 1 | GetAssignment
--------------------------------------------------------------------------------
Skip (test-GetAssignment.R:3:3): GetAssignment
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GetBlockedWorkers
v | 0 1 | GetBlockedWorkers
--------------------------------------------------------------------------------
Skip (test-GetBlockedWorkers.R:3:3): GetBlockedWorkers
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GetBonuses
v | 0 1 | GetBonuses
--------------------------------------------------------------------------------
Skip (test-GetBonuses.R:3:3): GetBonuses
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GetClient
/ | 0 | GetHIT
/ | 0 | GetHITsForQualificationType
v | 0 1 | GetHITsForQualificationType
--------------------------------------------------------------------------------
Skip (test-GetHITsForQualificationType.R:2:3): GetHITsForQualificationType
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GetQualificationRequests
v | 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
v | 0 1 | GetQualificationScore
--------------------------------------------------------------------------------
Skip (test-GetQualificationScore.R:2:3): GetQualificationScore
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GetQualificationType
v | 0 1 | GetQualificationType
--------------------------------------------------------------------------------
Skip (test-GetQualificationType.R:2:3): GetQualificationType
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GetQualifications
v | 0 1 | GetQualifications
--------------------------------------------------------------------------------
Skip (test-GetQualifications.R:2:3): GetQualifications
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GetReviewResultsForHIT
v | 0 1 | GetReviewResultsForHIT
--------------------------------------------------------------------------------
Skip (test-GetReviewResultsForHIT.R:3:3): GetReviewResultsForHIT
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GetReviewableHITs
v | 0 1 | GetReviewableHITs
--------------------------------------------------------------------------------
Skip (test-GetReviewableHITs.R:3:3): GetReviewableHITs
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GrantBonus
v | 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
v | 0 1 | GrantQualification
--------------------------------------------------------------------------------
Skip (test-GrantQualification.R:2:3): GrantQualification
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | HITStatus
v | 0 1 | HITStatus
--------------------------------------------------------------------------------
Skip (test-HITStatus.R:3:3): HITStatus
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | RegisterHITType
/ | 0 | RejectAssignment
v | 0 1 | RejectAssignment
--------------------------------------------------------------------------------
Skip (test-RejectAssignment.R:3:3): RejectAssignment
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | RejectQualification
v | 0 1 | RejectQualification
--------------------------------------------------------------------------------
Skip (test-RejectQualification.R:2:3): RejectQualification
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | SearchQualificationTypes
v | 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
v | 0 1 | SendTestEventNotification
--------------------------------------------------------------------------------
Skip (test-SendTestEventNotification.R:2:3): SetHITTypeNotification
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | SetHITAsReviewing
v | 0 1 | SetHITAsReviewing
--------------------------------------------------------------------------------
Skip (test-SetHITAsReviewing.R:2:3): multiplication works
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | SetHITTypeNotification
v | 0 1 | SetHITTypeNotification
--------------------------------------------------------------------------------
Skip (test-SetHITTypeNotification.R:2:3): multiplication works
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | UnblockWorker
v | 0 1 | UnblockWorker
--------------------------------------------------------------------------------
Skip (test-UnblockWorker.R:2:3): UnblockWorker
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | UpdateQualificationScore
v | 0 1 | UpdateQualificationScore
--------------------------------------------------------------------------------
Skip (test-UpdateQualificationScore.R:2:3): UpdateQualificationScore
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | UpdateQualificationType Error in fun(Name = "X34726691", Description = "Qual002", QualificationTypeStatus = "Active", :
could not find function "fun"
x | 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
v | 0 1 | testxlast1-ApproveAssignment
--------------------------------------------------------------------------------
Skip (testxlast1-ApproveAssignment.R:3:3): ApproveAssignment with AssignmentId
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | testxlast2-ApproveAllAssignments
v | 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: 5.1 s
-- Skipped tests --------------------------------------------------------------
* CheckAWSKeys() is not TRUE (58)
[ FAIL 1 | WARN 5 | SKIP 58 | PASS 39 ]
Error: Test failures
Execution halted
Flavor: r-release-windows-ix86+x86_64
Version: 1.1.4
Check: tests
Result: ERROR
Running 'testthat.R' [6s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(pyMTurkR)
>
> test_dir("testthat")
v | OK F W S | Context
/ | 0 | AccountBalance
- | 0 1 | AccountBalance
v | 0 1 | AccountBalance [0.1 s]
--------------------------------------------------------------------------------
Skip (test-AccountBalance.R:3:3): AccountBalance
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | AssignQualification
v | 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
v | 0 1 | BlockWorker
--------------------------------------------------------------------------------
Skip (test-BlockWorker.R:2:3): BlockWorker
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | ChangeHITType
v | 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
v | 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
v | 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
v | 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
v | 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
v | 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
v | 4 | GenerateHITsFromTemplate
/ | 0 | GenerateHTMLQuestion
- | 1 | GenerateHTMLQuestion
v | 2 | GenerateHTMLQuestion [0.2 s]
/ | 0 | GenerateNotification
- | 1 | GenerateNotification
v | 3 | GenerateNotification [3.2 s]
/ | 0 | GenerateQualificationRequirement
v | 16 5 | GenerateQualificationRequirement
--------------------------------------------------------------------------------
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
v | 14 | GenerateReviewPolicy
/ | 0 | GetAssignment
v | 0 1 | GetAssignment
--------------------------------------------------------------------------------
Skip (test-GetAssignment.R:3:3): GetAssignment
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GetBlockedWorkers
v | 0 1 | GetBlockedWorkers
--------------------------------------------------------------------------------
Skip (test-GetBlockedWorkers.R:3:3): GetBlockedWorkers
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GetBonuses
v | 0 1 | GetBonuses
--------------------------------------------------------------------------------
Skip (test-GetBonuses.R:3:3): GetBonuses
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GetClient
/ | 0 | GetHIT
/ | 0 | GetHITsForQualificationType
v | 0 1 | GetHITsForQualificationType
--------------------------------------------------------------------------------
Skip (test-GetHITsForQualificationType.R:2:3): GetHITsForQualificationType
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GetQualificationRequests
v | 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
v | 0 1 | GetQualificationScore
--------------------------------------------------------------------------------
Skip (test-GetQualificationScore.R:2:3): GetQualificationScore
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GetQualificationType
v | 0 1 | GetQualificationType
--------------------------------------------------------------------------------
Skip (test-GetQualificationType.R:2:3): GetQualificationType
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GetQualifications
v | 0 1 | GetQualifications
--------------------------------------------------------------------------------
Skip (test-GetQualifications.R:2:3): GetQualifications
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GetReviewResultsForHIT
v | 0 1 | GetReviewResultsForHIT
--------------------------------------------------------------------------------
Skip (test-GetReviewResultsForHIT.R:3:3): GetReviewResultsForHIT
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GetReviewableHITs
v | 0 1 | GetReviewableHITs
--------------------------------------------------------------------------------
Skip (test-GetReviewableHITs.R:3:3): GetReviewableHITs
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | GrantBonus
v | 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
v | 0 1 | GrantQualification
--------------------------------------------------------------------------------
Skip (test-GrantQualification.R:2:3): GrantQualification
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | HITStatus
v | 0 1 | HITStatus
--------------------------------------------------------------------------------
Skip (test-HITStatus.R:3:3): HITStatus
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | RegisterHITType
/ | 0 | RejectAssignment
v | 0 1 | RejectAssignment
--------------------------------------------------------------------------------
Skip (test-RejectAssignment.R:3:3): RejectAssignment
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | RejectQualification
- | 0 1 | RejectQualification
v | 0 1 | RejectQualification [0.2 s]
--------------------------------------------------------------------------------
Skip (test-RejectQualification.R:2:3): RejectQualification
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | SearchQualificationTypes
v | 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
v | 0 1 | SendTestEventNotification
--------------------------------------------------------------------------------
Skip (test-SendTestEventNotification.R:2:3): SetHITTypeNotification
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | SetHITAsReviewing
v | 0 1 | SetHITAsReviewing
--------------------------------------------------------------------------------
Skip (test-SetHITAsReviewing.R:2:3): multiplication works
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | SetHITTypeNotification
v | 0 1 | SetHITTypeNotification
--------------------------------------------------------------------------------
Skip (test-SetHITTypeNotification.R:2:3): multiplication works
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | UnblockWorker
v | 0 1 | UnblockWorker
--------------------------------------------------------------------------------
Skip (test-UnblockWorker.R:2:3): UnblockWorker
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | UpdateQualificationScore
v | 0 1 | UpdateQualificationScore
--------------------------------------------------------------------------------
Skip (test-UpdateQualificationScore.R:2:3): UpdateQualificationScore
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | UpdateQualificationType Error in fun(Name = "X89464177", Description = "Qual002", QualificationTypeStatus = "Active", :
could not find function "fun"
x | 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
v | 0 1 | testxlast1-ApproveAssignment
--------------------------------------------------------------------------------
Skip (testxlast1-ApproveAssignment.R:3:3): ApproveAssignment with AssignmentId
Reason: CheckAWSKeys() is not TRUE
--------------------------------------------------------------------------------
/ | 0 | testxlast2-ApproveAllAssignments
v | 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: 4.4 s
-- Skipped tests --------------------------------------------------------------
* CheckAWSKeys() is not TRUE (58)
[ FAIL 1 | WARN 5 | SKIP 58 | PASS 39 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-windows-ix86+x86_64