From ec86e3643e47d03bc0e8c9c47fe7aae25a5e37ed Mon Sep 17 00:00:00 2001 From: Sean Murphy Date: Thu, 3 Jul 2014 13:15:39 +1000 Subject: [PATCH] Update ApproveAllAssignments.R Currently the function passes your keypair first to ApproveAssignments without naming the argument, resulting in the ApproveAssignments function attempting to approve 2 assignments: Your keypair credentials. This change fixed it for me. --- R/ApproveAllAssignments.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/ApproveAllAssignments.R b/R/ApproveAllAssignments.R index 42f0fe0..486dc79 100644 --- a/R/ApproveAllAssignments.R +++ b/R/ApproveAllAssignments.R @@ -28,7 +28,7 @@ function (hit = NULL, hit.type = NULL, feedback = NULL, GetAssignments(hit = i, return.all = TRUE, keypair = keypair, log.requests = log.requests, sandbox = sandbox)$AssignmentId }) } - request <- ApproveAssignments(keypair, assignments, feedback = feedback, + request <- ApproveAssignments(keypair = keypair, assignments, feedback = feedback, print = print, log.requests = log.requests, sandbox = sandbox, validation.test = validation.test) return(request)