Skip to content

Commit 093010e

Browse files
committed
add gear for deploying to shiny server
1 parent bfe2873 commit 093010e

File tree

5 files changed

+25
-3
lines changed

5 files changed

+25
-3
lines changed

.Rbuildignore

+2
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ $run_dev.*
99
^CODE_OF_CONDUCT\.md$
1010
^doc$
1111
^Meta$
12+
^app\.R$
13+
^rsconnect$

DESCRIPTION

+2-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ Imports:
3636
plotly,
3737
popbio,
3838
shinyBS,
39-
shinythemes
39+
shinythemes,
40+
pkgload
4041
Encoding: UTF-8
4142
LazyData: true
4243
RoxygenNote: 7.1.1

app.R

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Launch the ShinyApp (Do not remove this comment)
2+
# To deploy, run: rsconnect::deployApp()
3+
# Or use the blue button on top of this file
4+
5+
pkgload::load_all(export_all = FALSE,helpers = FALSE,attach_testthat = FALSE)
6+
options( "golem.app.prod" = TRUE)
7+
mmrefpoints::run_app() # add parameters here (if any)

inst/Documentation/ProjectionModel.Rmd

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
---
2-
title: 'About the projection model'
3-
author: 'Siple MC and Punt AE'
2+
title: "About the projection model"
3+
author: "Siple MC and Punt AE"
44
date: 'Last updated: June 12, 2020'
55
output:
66
html_document:
77
highlight: tango
88
theme: flatly
9+
pdf_document: default
910
word_document: default
1011
---
1112

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: mmrefpoints
2+
title:
3+
username:
4+
account: msiple
5+
server: shinyapps.io
6+
hostUrl: https://api.shinyapps.io/v1
7+
appId: 4538838
8+
bundleId: 4965225
9+
url: https://msiple.shinyapps.io/mmrefpoints/
10+
when: 1629938249.75339
11+
lastSyncTime: 1629938249.75341

0 commit comments

Comments
 (0)