Skip to content

Commit 9bacbc4

Browse files
authored
ffi_qaqc fix (#106)
* Intermediate dir should ALSO be the tempdir * try() syntax fix
1 parent f195f35 commit 9bacbc4

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

R/metadata.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@
3636
#' # has no match
3737
#'
3838
#' # This generates an error because of overlapping timestamps:
39-
#' \try{
39+
#' try({
4040
#' s_t <- c("13:00:00", "13:01:00")
4141
#' ffi_metadata_match(d_t, s_d, s_t, ol)
42-
#' }
42+
#' })
4343
ffi_metadata_match <- function(data_timestamps,
4444
start_dates, start_times,
4545
obs_lengths) {

R/qaqc.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ ffi_qaqc <- function(flux_data,
4141
output_file = output_file,
4242
output_dir = output_dir,
4343
knit_root_dir = output_dir,
44+
intermediates_dir = output_dir,
4445
quiet = ffi_isquiet(),
4546
params = list(flux_data = tf_flux_data,
4647
group_column = group_column))

man/ffi_metadata_match.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)