MRCIEU / ieugwasr

Compare d9a2c6f ... +0 ... d6eea03

Coverage Reach

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.

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

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.
Files Coverage
R 0.52% 61.45%
Project Totals (7 files) 61.45%
Loading