SufficientFunds provides a wrapper that checks whether your account has sufficient funds based upon specified characters of your HIT.AccountBalance(	keypair = credentials(), print = TRUE, browser = FALSE, 
				log.requests = TRUE, sandbox = FALSE)
SufficientFunds(amount, assignments = NULL, hits = NULL, 
				bonus.ct = NULL, bonus.amount = NULL, masters = FALSE, 
				turkfee = 0.1, turkmin = 0.005, mastersfee = 0.2, 
				keypair = credentials(), print = FALSE, 
				log.requests = TRUE, sandbox = FALSE)FALSE.credentials.TRUE.FALSE.TRUE. See readlogfile for details.FALSE.AccountBalance takes no substantive arguments. SufficientFunds is a wrapper for AccountBalance that accepts as inputs information about intended payments and bonuses to check whether your account has sufficient funds. If sandbox=TRUE, AccountBalance always returns accountbalance() and getbalance() are aliases for AccountBalance.AccountBalance()
SufficientFunds(amount=".25",assignments="50",hits="5")
SufficientFunds(bonus.ct="150",bonus.amount=".75")Run the code above in your browser using DataLab