ramnathv / rMaps

Interactive Maps from R
http://rmaps.github.io
389 stars 194 forks source link

Error on install #15

Closed gastaman closed 10 years ago

gastaman commented 10 years ago

Hi,

Thanks for your great work (again) at provinding us cool but pro vizualisations. Installing rMaps i've encoutered those errors (devtools was loaded) :

install_github('ramnathv/rCharts@dev') Installing github repo(s) ramnathv/rCharts@dev/master from hadley Downloading ramnathv/rCharts@dev.zip from https://github.com/hadley/ramnathv/rCharts@dev/archive/master.zip Error: client error: (404) Not Found install_github('ramnathv/rMaps') Installing github repo(s) ramnathv/rMaps/master from hadley Downloading ramnathv/rMaps.zip from https://github.com/hadley/ramnathv/rMaps/archive/master.zip Error: client error: (404) Not Found

I'm on Win7 and R 3.0.1 (devtools 1.3)

Any clues ?

ramnathv commented 10 years ago

You need a recent version of devtools to use the install code in those instructions.

With an older version, I would recommend doing the following

install_github('rCharts', 'ramnathv', ref = 'dev')
install_github('rMaps', 'ramnathv')
gastaman commented 10 years ago

Thanks. The update of devtools give me the install step. But I've got another error on install process caused by the abscence of package base64enc (solved by downloading the package). By the way I've seen a list of warning during rMaps install process :

Warning in .recacheSubclasses(def@className, def, doSubclasses, env) : undefined subclass "Datamaps" of class "refClass"; definition not updated Warning in .recacheSubclasses(def@className, def, doSubclasses, env) : undefined subclass "Datamaps" of class "refObject"; definition not updated Warning in .recacheSubclasses(def@className, def, doSubclasses, env) : undefined subclass "Datamaps" of class "refClass"; definition not updated Warning in .recacheSubclasses(def@className, def, doSubclasses, env) : undefined subclass "Leaflet" of class "refClass"; definition not updated Warning in .recacheSubclasses(def@className, def, doSubclasses, env) : undefined subclass "Datamaps" of class "refObject"; definition not updated Warning in .recacheSubclasses(def@className, def, doSubclasses, env) : undefined subclass "Leaflet" of class "refObject"; definition not updated

and

\ testing if installed package can be loaded * arch - i386 Warning in .simpleDuplicateClass(def, prev) : the specification for class "Datamaps" in package 'rMaps' seems equivalent to one from package 'rCharts' and is not turning on duplicate class definitions for this class Warning in .simpleDuplicateClass(def, prev) : the specification for class "Leaflet" in package 'rMaps' seems equivalent to one from package 'rCharts' and is not turning on duplicate class definitions for this class * arch - x64 Warning in .simpleDuplicateClass(def, prev) : the specification for class "Datamaps" in package 'rMaps' seems equivalent to one from package 'rCharts' and is not turning on duplicate class definitions for this class Warning in .simpleDuplicateClass(def, prev) : the specification for class "Leaflet" in package 'rMaps' seems equivalent to one from package 'rCharts' and is not turning on duplicate class definitions for this class

Thanks again for your help

ramnathv commented 10 years ago

Yes. The warnings are because I moved some classes to rMaps from rCharts, but did not delete them from rCharts. This is causing the warnings about duplicate reference classes. I will be updating rCharts shortly, removing these duplicate libraries.