From bb204def3fd339eb7182740c52c9810ec66520aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Barber=C3=A1?= Date: Tue, 3 Nov 2015 18:30:52 +0100 Subject: [PATCH] typo --- instaR/R/getFollows.R | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/instaR/R/getFollows.R b/instaR/R/getFollows.R index df26d71..efc6374 100644 --- a/instaR/R/getFollows.R +++ b/instaR/R/getFollows.R @@ -47,7 +47,7 @@ getFollows <- function(username, token, userid=NULL, verbose=TRUE){ ## retrying 3 times if error was found error <- 0 while (is.null(content$meta) | content$meta != 200){ - messsage("Error!") + message("Error!") Sys.sleep(0.5) error <- error + 1 content <- callAPI(url, token) @@ -67,12 +67,12 @@ getFollows <- function(username, token, userid=NULL, verbose=TRUE){ content <- callAPI(content$pagination['next_url'], token) l <- l + length(content$data) - if (length(content$data)>0){ messsage(l, " follows")} + if (length(content$data)>0){ message(l, " follows")} ## retrying 3 times if error was found error <- 0 while (is.null(content$meta) | content$meta != 200){ - messsage("Error!") + message("Error!") Sys.sleep(0.5) error <- error + 1 content <- callAPI(url, token)