MRCIEU / ieugwasr
Showing 2 of 2 files from the diff.

@@ -30,9 +30,7 @@
Loading
30 30
#' @return access token string
31 31
get_access_token <- function()
32 32
{
33 -
	message(
34 -
		"Using access token. For info on how this is used see logging_info()\n"
35 -
    )
33 +
	message("Using access token. For info on how this is used see logging_info()")
36 34
	tf <- basename(tempfile())
37 35
	check <- suppressWarnings(file.create(tf))
38 36
	if(!check)

@@ -240,10 +240,16 @@
Loading
240 240
	if(class(out) != "response")
241 241
	{
242 242
		out <- out %>% dplyr::as_tibble()
243 -
		out[order(out[["p"]]),] %>% return()
244 -
	} else {
245 -
		out %>% return
243 +
		if(nrow(out) > 0)
244 +
		{
245 +
			out <- dplyr::arrange(out, p)
246 +
		}
247 +
		if(nrow(out) >= 100000)
248 +
		{
249 +
			warning("Reached output limit of 100000 rows. Please reduce your query size.")
250 +
		}
246 251
	}
252 +
	return(out)
247 253
}
248 254
249 255
Files Coverage
R 61.45%
Project Totals (7 files) 61.45%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading