Skip to content

Commit

Permalink
Merge pull request #1 from nhsbsa-data-analytics/initial_setup
Browse files Browse the repository at this point in the history
initial setup
  • Loading branch information
kygoffe authored Oct 9, 2023
2 parents 38defa9 + 25aba3c commit 9e2233e
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 53 deletions.
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,13 @@
.DS_Store
rsconnect
.Renviron
# Ignore data files of various formats.
# A non-exaustive list.
# Common text files that may contain data #
###########################################
*.[cC][sS][vV]
*.[tT][xX][tT]
*.[sS][qQ][lL]
# Excel files (including macros and templates) #
################################################
*.[xX][lL][sS][xXmMtT]?
39 changes: 11 additions & 28 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,33 +1,14 @@
Package: nhsbsaShinyR
Title: Template for NHSBSA {shiny} apps
Version: 0.0.0.9002
Authors@R:
c(person(given = "DALL",
family = "",
role = c("aut", "cre"),
email = "[email protected]"),
person(given = "Adam",
family = "Ivison",
role = "ctb",
email = ""),
person(given = "Kayoung",
family = "Goffe",
role = "ctb",
email = "[email protected]"),
person(given = "Steven",
family = "Buckley",
role = "ctb",
email = "[email protected]"),
person(given = "Mark",
family = "McPherson",
role = "ctb",
email = "[email protected]"))
Description: Template used for NHSBSA Data Science and Advanced Analytics
{shiny} apps.
Package: nhsbsaGPG
Title: NHSBSA Gender Pay Gap Report
Version: 0.0.0.9000
Authors@R: person("Kayoung", "Goffe",
"[email protected]",
role = c("aut", "cre"))
Description: NHSBSA gender pay gap report template.
License: Apache License (>= 2)
Depends:
Depends:
R (>= 4.0)
Imports:
Imports:
config,
dplyr,
golem,
Expand All @@ -41,10 +22,12 @@ Imports:
shinyjs
Suggests:
pkgload,
testthat (>= 3.0.0),
usethis
Remotes:
nhsbsa-data-analytics/nhsbsaR,
statistiekcbs/scrollytell
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.2.3
Config/testthat/edition: 3
2 changes: 1 addition & 1 deletion R/app_config.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#'
#' @noRd
app_sys <- function(...) {
system.file(..., package = "nhsbsaShinyR")
system.file(..., package = "nhsbsaGPG")
}


Expand Down
2 changes: 1 addition & 1 deletion R/app_ui.R
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ golem_add_external_resources <- function() {

tags$head(
favicon("assets/favicons/favicon"),
tags$title("nhsbsaShinyR"),
tags$title("nhsbsaGPG"),

# Add here other external resources
# for example, you can add shinyalert::useShinyalert()
Expand Down
22 changes: 0 additions & 22 deletions R/nhsbsaShinyR.R

This file was deleted.

2 changes: 1 addition & 1 deletion inst/golem-config.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
default:
golem_name: nhsbsaShinyR
golem_name: nhsbsaGPG
golem_version: 0.0.0.9000
app_prod: no
production:
Expand Down
File renamed without changes.
12 changes: 12 additions & 0 deletions tests/testthat.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This file is part of the standard setup for testthat.
# It is recommended that you do not modify it.
#
# Where should you do additional test configuration?
# Learn more about the roles of various files in:
# * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
# * https://testthat.r-lib.org/articles/special-files.html

library(testthat)
library(nhsbsaShinyR)

test_check("nhsbsaShinyR")

0 comments on commit 9e2233e

Please sign in to comment.