forked from gexijin/idepGolem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
01_start.R
72 lines (57 loc) · 2.52 KB
/
01_start.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Building a Prod-Ready, Robust Shiny Application.
#
# README: each step of the dev files is optional, and you don't have to
# fill every dev scripts before getting started.
# 01_start.R should be filled at start.
# 02_dev.R should be used to keep track of your development during the project.
# 03_deploy.R should be used once you need to deploy your app.
#
#
########################################
#### CURRENT FILE: ON START SCRIPT #####
########################################
## Fill the DESCRIPTION ----
## Add meta data about your application
##
## /!\ Note: if you want to change the name of your app during development,
## either re-run this function, call golem::set_golem_name(), or don't forget
## to change the name in the app_sys() function in app_config.R /!\
##
golem::fill_desc(
pkg_name = "idepGolem", # The Name of the package containing the App
pkg_title = "iDEP: an integrated web application for differential
expression and pathway analysis of RNA-Seq data", # The Title of the package containing the App
pkg_description = "Combining comprehensive analytic functionalities with massive annotation databases,
iDEP (http://ge-lab.org/idep/) enables biologists to easily translate transcriptomic and proteomic
data into actionable insights..", # The Description of the package containing the App
author_first_name = "Xijin", # Your First Name
author_last_name = "Ge", # Your Last Name
author_email = "[email protected]", # Your Email
repo_url = "https://github.com/gexijin/idepGolem" # The URL of the GitHub Repo (optional)
)
## Set {golem} options ----
golem::set_golem_options()
## Create Common Files ----
## See ?usethis for more information
usethis::use_mit_license( "Golem User" ) # You can set another license here
usethis::use_readme_rmd( open = FALSE )
usethis::use_code_of_conduct()
usethis::use_lifecycle_badge( "Experimental" )
usethis::use_news_md( open = FALSE )
## Use git ----
usethis::use_git()
## Init Testing Infrastructure ----
## Create a template for tests
golem::use_recommended_tests()
## Use Recommended Packages ----
golem::use_recommended_deps()
## Favicon ----
# If you want to change the favicon (default is golem's one)
golem::use_favicon("C:/Users/gavin/Downloads/favicon-removebg-preview.png") # path = "path/to/ico". Can be an online file.
golem::remove_favicon("inst/app/www/favicon.png")
## Add helper functions ----
golem::use_utils_ui()
golem::use_utils_server()
# You're now set! ----
# go to dev/02_dev.R
rstudioapi::navigateToFile( "dev/02_dev.R" )