Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
9
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
hrbrmstr
speedtest
Commits
30fc8ff5
Verified
Commit
30fc8ff5
authored
Nov 11, 2017
by
hrbrmstr
🛌
Browse files
removing all pingr functions til i can figure out ubuntu weirdness
parent
8e7766e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
R/bestest.r
R/bestest.r
+1
-1
No files found.
R/bestest.r
View file @
30fc8ff5
...
...
@@ -43,7 +43,7 @@ spd_best_servers <- function(servers=NULL, config=NULL, max=10) {
purrr
::
map_df
(
.lat_dat
,
~
{
data_frame
(
latency_url
=
.x
$
url
,
ping_time
=
mean
(
pingr
::
ping
(
urltools
::
domain
(
.x
$
url
)),
na.rm
=
TRUE
)
/
1000
,
#
ping_time = mean(pingr::ping(urltools::domain(.x$url)), na.rm=TRUE)/1000,
total_time
=
.x
$
times
[
"total"
],
retrieval_time
=
.x
$
times
[
6
]
-
.x
$
times
[
5
],
test_result
=
rawToChar
(
.x
$
content
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment