Skip to content

Commit

Permalink
Move plumber stuff to pcd admin package and fix attribute filtering.
Browse files Browse the repository at this point in the history
  • Loading branch information
ConorIA committed Feb 4, 2019
1 parent c240a36 commit 3290e14
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 211 deletions.
3 changes: 2 additions & 1 deletion R/qc.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@

qc <- function(dat) {

attrs_to_append <- append(attributes(dat)[4:length(attributes(dat)) - 2], list(`QC Date` = Sys.Date()))
attrs_to_append <- append(attributes(dat)[!names(attributes(dat)) %in% c('rownames', 'names', 'class')],
list(`QC Date` = Sys.Date()))

if (inherits(dat, "character") & !inherits(dat, "data.frame")) {
if (length(dat) > 1L) {
Expand Down
10 changes: 0 additions & 10 deletions docker-compose.yml

This file was deleted.

16 changes: 0 additions & 16 deletions plumber/Dockerfile

This file was deleted.

184 changes: 0 additions & 184 deletions plumber/plumber.R

This file was deleted.

0 comments on commit 3290e14

Please sign in to comment.