Skip to content

Commit

Permalink
v2.0.6.9028
Browse files Browse the repository at this point in the history
-   refactor: Add dummy files to blank Shiny app folders to avoid being
    deleted
  • Loading branch information
leppott committed Jun 15, 2022
1 parent c08ef88 commit 6d3cb4c
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 6 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: ContDataQC
Title: Quality Control (QC) of Continous Monitoring Data
Version: 2.0.6.9027
Version: 2.0.6.9028
Authors@R: c(
person("Erik W", "Leppo", email="[email protected]",role=c("aut","cre")),
person("Ann","Roseberry Lincoln", role="ctb"),
Expand Down
9 changes: 8 additions & 1 deletion NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,17 @@ NEWS-ContDataQC

<!-- NEWS.md is generated from NEWS.Rmd. Please edit that file -->

#> Last Update: 2022-06-15 17:06:19
#> Last Update: 2022-06-15 17:38:48

# Version History

## v2.0.6.9028

2022-06-15

- refactor: Add dummy files to blank Shiny app folders to avoid being
deleted

## v2.0.6.9027

2022-06-15
Expand Down
9 changes: 8 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,17 @@ NEWS-ContDataQC

<!-- NEWS.md is generated from NEWS.Rmd. Please edit that file -->

#> Last Update: 2022-06-15 17:06:19
#> Last Update: 2022-06-15 17:38:48

# Version History

## v2.0.6.9028

2022-06-15

- refactor: Add dummy files to blank Shiny app folders to avoid being
deleted

## v2.0.6.9027

2022-06-15
Expand Down
5 changes: 5 additions & 0 deletions NEWS.rmd
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ cat(paste0("Last Update: ",Sys.time()))

# Version History

## v2.0.6.9028
2022-06-15

* refactor: Add dummy files to blank Shiny app folders to avoid being deleted

## v2.0.6.9027
2022-06-15

Expand Down
5 changes: 5 additions & 0 deletions inst/shiny-examples/ContDataQC/HOBO/delete.me
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Upload to Shiny server removes empty directories.

Add dummy file to avoid this issue.

[email protected]
5 changes: 5 additions & 0 deletions inst/shiny-examples/ContDataQC/miniDOT_cat/delete.me
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Upload to Shiny server removes empty directories.

Add dummy file to avoid this issue.

[email protected]
5 changes: 5 additions & 0 deletions inst/shiny-examples/ContDataQC/miniDOT_reformat/delete.me
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Upload to Shiny server removes empty directories.

Add dummy file to avoid this issue.

[email protected]
4 changes: 2 additions & 2 deletions inst/shiny-examples/ContDataQC/server.R
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ shinyServer(function(input, output, session) {
message("Copy")
copy.from <- file.path(UserFile_Path_miniDOT_cat())
#copy.to <- file.path(getwd(), UserFile_Name())
copy.to <- file.path(".", "miniDOT_cat", UserFile_Name_miniDOT_cat())
copy.to <- file.path("miniDOT_cat", UserFile_Name_miniDOT_cat())
file.copy(copy.from, copy.to)

#Allows users to use their own configuration/threshold files for QC.
Expand Down Expand Up @@ -666,7 +666,7 @@ shinyServer(function(input, output, session) {
message("Copy")
copy.from <- file.path(UserFile_Path_miniDOT_reformat())
#copy.to <- file.path(getwd(), UserFile_Name())
copy.to <- file.path(".", "miniDOT_reformat", UserFile_Name_miniDOT_reformat())
copy.to <- file.path("miniDOT_reformat", UserFile_Name_miniDOT_reformat())
file.copy(copy.from, copy.to)

#Allows users to use their own configuration/threshold files for QC.
Expand Down
2 changes: 1 addition & 1 deletion inst/shiny-examples/ContDataQC/ui.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ tab_9Status <- source("external/tab_9Status.R", local = TRUE)$value

shinyUI(
# VERSION ----
navbarPage("Continuous data QC, summary, and statistics - v2.0.6.9027",
navbarPage("Continuous data QC, summary, and statistics - v2.0.6.9028",
theme= shinytheme("spacelab")
,tab_1Overview()
,tab_2DataPrep()
Expand Down

0 comments on commit 6d3cb4c

Please sign in to comment.