Running examples in 'loggle-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: stockdata_source
> ### Title: Source code for stock prices of S&P 500 companies from 2007 to
> ###   2016
> ### Aliases: stockdata_source
> 
> ### ** Examples
> 
> library(XML)
> library(RCurl)
Loading required package: bitops
> library(quantmod)
Loading required package: xts
Loading required package: zoo

Attaching package: 'zoo'

The following objects are masked from 'package:base':

    as.Date, as.Date.numeric

Loading required package: TTR
Version 0.4-0 included new data defaults. See ?getSymbols.
> 
> # select one stock of interest
> stock.ticker <- "MSFT"
> 
> # extract stock information from wiki
> url <- "https://en.wikipedia.org/wiki/List_of_S%26P_500_companies"
> tabs <- getURL(url)
> stock.info <- readHTMLTable(tabs, stringsAsFactors = FALSE)[[1]]
Error in file.exists(file) : unable to translate '<!DOCTYPE html>
<html class="client-nojs" lang="en" dir="ltr">
<head>
<meta charset="UTF-8"/>
<title>List of S&amp;P 500 companies - Wikipedia</title>
<script>document.documentElement.className=document.documentElement.className.replace(/(^|s)client-nojs(s|$)/,"$1client-js$2");RLCONF={"wgCanonicalNamespace":"","wgCanonicalSpecialPageName":!1,"wgNamespaceNumber":0,"wgPageName":"List_of_S&P_500_companies","wgTitle":"List of S&P 500 companies","wgCurRevisionId":910526593,"wgRevisionId":910526593,"wgArticleId":2676045,"wgIsArticle":!0,"wgIsRedirect":!1,"wgAction":"view","wgUserName":null,"wgUserGroups":["*"],"wgCategories":["CS1 maint: Archived copy as title","Articles with short description","S&P Dow Jones Indices","Lists of companies","Standard & Poor's"],"wgBreakFrames":!1,"wgPageContentLanguage":"en","wgPageContentModel":"wikitext","wgSeparatorTransformTable":["",""],"wgDigitTransformTable":["",""],"wgDefaultDateFormat":"dmy","wgMonthNames":["","January",
Calls: readHTMLTable ... readHTMLTable -> .local -> htmlParse -> file.exists
Execution halted