-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ui.R mapOutput error #169
Comments
Hi @talassio, Thanks for submitting this issue; we will have to look into this. Did you clone a repository or are you following steps from http://ohi-science.org/pages/install.html? |
Dear Julia, I cloned the ecu repository and installed the required packages one by one. Looking forward to your reply, best, Andres On 16 April 2015 at 17:11, Julia Lowndes [email protected] wrote:
|
Julia, as discussed: list of packages to install from a vanilla system:install.packages('devtools') please add as required packages in calculate_scores.R: load MANDATORY required librariesrequire(pscych) Cheers |
Hi @talassio, I have an answer for you. This is what you'll need to install, which I have updated in lines 2-4 of
With this, you should not have any more problems with |
Marvelous!
|
calculate_scores.RJust pulled the updated gye repo, and line ERROR: dependency ‘rCharts’ is not available for package ‘ohicore’
* removing ‘/home/cesma/R/x86_64-pc-linux-gnu-library/3.2/ohicore’
Error: Command failed (1)
In addition: Warning message:
package ‘rCharts’ is not available (for R version 3.2.0) to fix, add launch_app_codes.RAlso fails, with message
fix by prepending with and finally, launch_app() blows up with
hope this helps, Cheers, |
Sorry about this. Thanks for the detail; we are investigating and will get back to you! |
Hi Andrew, Thanks for your patience. The proper way to install ohicore is to first install the OHI-Science version of I have added a script that you can run that will do this for you: Cheers, # remove old packages
for (p in c('ohicore','ohigui','rCharts')){
if (p %in% rownames(installed.packages())){
lib = subset(as.data.frame(installed.packages()), Package==p, LibPath, drop=T)
remove.packages(p, lib)
}
}
# install dependencies
for (p in c('devtools')){
if (!require(p, character.only=T)){
install.packages(p)
require(p, character.only=T)
}
}
# install packages
install_github('ohi-science/rCharts')
install_github('ohi-science/ohicore@dev') |
Hello Julia, just followed all the steps and still can't make launch_app_code.R work:
Hope this helps. Cheers, Andrew On 22 April 2015 at 13:10, Julia Lowndes [email protected] wrote:
|
Sourcing launch_app stops with the error:
Replacing in dir_app/ui.R on line 98
with
as per ramnathv/rMaps#63
seems that the App works, except no map is drawn.
The text was updated successfully, but these errors were encountered: