im running the following code:
library(XBRL) xbrl_url2014 <- "https://www.sec.gov/Archives/edgar/data/1400000/000121152415000130/abki-20150531_cal.xml" old_o <- options(stringsAsFactors = FALSE) xbrl_data_aapl2014 <- xbrlDoAll(xbrl_url2014) options(old_o)
and keep getting the following error:
Error in if (substr(file.name, 1, 5) != "http:") {: argument is of length zero
Traceback:
- xbrlDoAll(xbrl_url2014)
- xbrl$processSchema(xbrl$getSchemaName())
- which(discovered.files == file)
- xbrl$getSchemaName()
- fixFileName(dname.inst, .Call("xbrlGetSchemaName", doc.inst,
. PACKAGE = "XBRL"))