Skip to content

Error in if (substr(file.name, 1, 5) != "http:") {: argument is of length zero Traceback: #10

@joeymizrahi

Description

@joeymizrahi

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:

  1. xbrlDoAll(xbrl_url2014)
  2. xbrl$processSchema(xbrl$getSchemaName())
  3. which(discovered.files == file)
  4. xbrl$getSchemaName()
  5. fixFileName(dname.inst, .Call("xbrlGetSchemaName", doc.inst,
    . PACKAGE = "XBRL"))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions