Skip to content

Commit

Permalink
attempt to fix access to data in test
Browse files Browse the repository at this point in the history
  • Loading branch information
jhmigueles committed Nov 28, 2023
1 parent e85b2cc commit 05d1e8d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 2 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ export(g.analyse, g.calibrate,
convertEpochData, appendRecords, extractID,
g.part5_analyseSegment, g.part5_initialise_ts,
g.part5.analyseRest, part6AlignIndividuals,
part6PairwiseAggregation, g.part6, g.report.part6, check_log, g.report.part5_dictionary)
part6PairwiseAggregation, g.part6, g.report.part6, check_log, g.report.part5_dictionary,
create_part1_meta)


importFrom("grDevices", "colors", "dev.off", "pdf",
Expand Down
5 changes: 1 addition & 4 deletions R/create_part1_meta.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
create_part1_meta = function(desired_outputdir = "output_test",
M, C, I,
Ndays = 2, windowsizes = c(5, 900, 3600),
lux = FALSE) {
# function to create output folder structure and fill it with part 1
Expand All @@ -11,9 +10,7 @@ create_part1_meta = function(desired_outputdir = "output_test",
dir.create("output_test/meta/basic", recursive = TRUE)
dir.create("output_test/results/QC", recursive = TRUE)
}
# part 1 metadata
data.calibrate = data.inspectfile = data.getmeta = NULL
data("data.calibrate"); data("data.inspectfile"); data("data.getmeta")
data(data.calibrate); data(data.inspectfile); data(data.getmeta)
M = data.getmeta; C = data.calibrate; I = data.inspectfile
# extend M$metashort
from = as.POSIXct(M$metashort$timestamp[1], tz = "Europe/London")
Expand Down

0 comments on commit 05d1e8d

Please sign in to comment.