ficonsulting / RInno

How to install local shiny apps
https://ficonsulting.github.io/RInno/
Other
307 stars 67 forks source link

Is there a way to directly pass session.info in Rinno #79

Closed vikram-rawat closed 6 years ago

vikram-rawat commented 6 years ago

Yesterday I build the app that I needed SQLite for. It doesn't even work fine on my computer but when I tried it on the user computer it couldn't even download data.table at all.

and after when I installed data.table manually it got stuck into this part I

image

I have no idea why is happening

Apps works fine. You can even check that on https://vikramsinghrawat.shinyapps.io/HRDashboard/

require(RInno)

example_app(wd = getwd())

create_app(
    app_name = "Dashboard", 
    app_dir = "HRdashboard",
    pkgs = c("shiny", "jsonlite", "httr",'RPostgres',
             'readxl',
             'ggthemes',
             'plotly'
             ,'lubridate'
             ,'DBI'
             ,'pool'
             ,'data.table'
             ,'shiny'
             ,'shinyBS'
             ,'flexdashboard'
             ,'shinydashboard'
             ,'tidyverse'
             ,'shinyjs'
             ,'DT'
             ,'RSQLite'
             ,'DBI'),
    include_R   =TRUE,
    R_version   ="3.4.3"
)

compile_iss()

This is the code I ran to build the app. and Now everything I do it just gets stuck on this bar

image

what should I do now.

vikram-rawat commented 6 years ago

I am really very sorry to bug you for this.

I found the problem I was using a few same packages twice in the name.

But now it runs fine on my computer but when I run it on somebody else's computer I have to load a few packages manually.

like DT and data.table. I have to install that manually on R.

is there any shortcut to do that too...

vikram-rawat commented 6 years ago

These are the screenshots of the app that I tried to install on a computer. it works fine on mine. But somehow I just couldn't get it run on other computer. It stops at DT package. I downloaded the DT package and it works. But then again I face the same problem. I was able to solve the data.table problem by installing it manually. But is there a way where I can simply create my exact session on someone's computer.

It has been an entire day just trying to get it running. Please help me out. Please.

asdfasdf asdfa asdfaaa

Dripdrop12 commented 6 years ago

It looks like you are using a development version of the DT package from Github. It is only at version 0.4 on CRAN. To continue using that version of DT, you can move it to the remotes section of your create_app call for now.

This is related to #53, so I'm linking them up and closing this issue out. Let us know if you have any other issues!

vikram-rawat commented 6 years ago

Thanks for the reply. I didn't even realize that thanks for pointing it out to me.