arbuzovv / rusquant

Official version of rusquant package for R
http://rusquant.ru
GNU General Public License v3.0
45 stars 20 forks source link

Error in readLines when test sample code from readme #12

Closed MislavSag closed 1 year ago

MislavSag commented 1 year ago

Hello,

I have tried to execute sample code from readme:

getSymbols('LKOH',src='Finam',period='day')

but it returns an error:

trying URL 'https://www.finam.ru/cache/N72Hgd54/icharts/icharts.js'
downloaded 1003 KB

Error in readLines(con = tmp, warn = FALSE, encoding = "UTF-8") : 
  error reading from the connection
In addition: Warning message:
In readLines(con = tmp, warn = FALSE, encoding = "UTF-8") :
  invalid or incomplete compressed data

Could you please confirm the error? I have just installed dev version from GitHub.

arbuzovv commented 1 year ago

Fix this