2017-08-25 22 views
0

私はRshinyで作ったアプリを数日失敗してから展開しようとしています......ローカルでは美しく働いています...公開しようとすると問題が発生しますShinyapps.ioアカウント..... shinyapps.ioの光沢のあるアプリを展開できません

は私のように(apps.rスクリプト内の)グローバルパッケージをロード:デプロイ中に、私は次のエラーを取得しています必要なパッケージ
mLoad <- function(...) { 
    sapply(sapply(match.call(), as.character)[-1], require, character.only = TRUE) 
} 

mLoad(cluster,plyr,dplyr,DT,data.table,ggfortify,ggcorrplot,ggraph,ggplot2,ggthemes,imputeTS,knitr,markdown,purrr,randomForest,rCharts,reshape2,rpivotTable,rsconnect,shiny,shinythemes,shinyapps,tibble,tidyr,tidyverse,vegan,VIM,visdat) 

をロード

.....

An error has occurred 

The application failed to start. 

Loading required package: cluster 
Loading required package: plyr 
Loading required package: dplyr 

Attaching package: ‘dplyr’ 

The following objects are masked from ‘package:plyr’: 

    arrange, count, desc, failwith, id, mutate, rename, summarise, 
    summarize 

The following objects are masked from ‘package:stats’: 

    filter, lag 

The following objects are masked from ‘package:base’: 

    intersect, setdiff, setequal, union 

Loading required package: DT 

Attaching package: ‘DT’ 

The following objects are masked from ‘package:shiny’: 

    dataTableOutput, renderDataTable 

Loading required package: data.table 
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : 
    there is no package called ‘data.table’ 
Loading required package: ggfortify 
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : 
    there is no package called ‘ggfortify’ 
Loading required package: ggcorrplot 
Loading required package: ggplot2 
Loading required package: ggraph 
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : 
    there is no package called ‘ggraph’ 
Loading required package: ggthemes 
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : 
    there is no package called ‘ggthemes’ 
Loading required package: imputeTS 
Loading required package: knitr 
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : 
    there is no package called ‘knitr’ 
Loading required package: markdown 
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : 
    there is no package called ‘markdown’ 
Loading required package: purrr 
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : 
    there is no package called ‘purrr’ 
Loading required package: randomForest 
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : 
    there is no package called ‘randomForest’ 
Loading required package: rCharts 
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : 
    there is no package called ‘rCharts’ 
Loading required package: reshape2 
Loading required package: rpivotTable 
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : 
    there is no package called ‘rpivotTable’ 
Loading required package: rsconnect 
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : 
    there is no package called ‘rsconnect’ 
Loading required package: shinythemes 
Loading required package: shinyapps 
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : 
    there is no package called ‘shinyapps’ 
Loading required package: tibble 
Loading required package: tidyr 
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : 
    there is no package called ‘tidyr’ 
Loading required package: tidyverse 
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : 
    there is no package called ‘tidyverse’ 
Loading required package: vegan 
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : 
    there is no package called ‘vegan’ 
Loading required package: VIM 
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : 
    there is no package called ‘VIM’ 
Loading required package: visdat 
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : 
    there is no package called ‘visdat’ 
Error in value[[3L]](cond) : could not find function "rpivotTableOutput" 
Calls: local ... tryCatch -> tryCatchList -> tryCatchOne -> <Anonymous> 
Execution halted.. 

は、私の知る限り、すべての必要なパッケージがCRANまたはGitHubのいずれかから、ローカルにインストールされている知っているように.....まだ私は上記のエラーを取得していますなぜ知らない....

があるようですいくつかのパッケージのどこかで矛盾があります....

答えて

2

Shinyの配備の問題を解決しました。図書館の名前をrpivotTableOutput("mypivot")のように置きました。

rpivotTable::rpivotTableOutput("mypivot") ..

Infactの配備後でさえ、多くの機能が動作していませんでした(ローカルではアプリケーションがシームレスに機能しました)。... ex ... rename()は、dplyrライブラリを読み込んだ後でも、ライブラリを置くだけでしたdplyr::rename() ....機能の前に名前..... serverで...アプリで多くの機能のためにしなければならなかっただけでなく、光沢のあるコードのui部分....

Plzは私を参照してくださいここの光沢のあるアプリ:

https://nishantsbi.shinyapps.io/microsegmentation_ml_app/ 
関連する問題