Skip to content

Commit 7573a63

Browse files
committed
fix bug when checking file extensions
1 parent be3d866 commit 7573a63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/NEW_00_main_CalibraCurve.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
#' @param linear_range_colour **character(1)** \cr Colour of the linear range background, default is "black" (colour is weakened by alpha = 0.1).
4141
#' @param multiplot_nrow **integer(1)** \cr Number of rows for the multiplot layout (default is NULL, which means that there is only one row).
4242
#' @param multiplot_ncol **integer(1)** \cr Number of columns for the multiplot layout (default is NULL, which means that the number of columns is determined automatically based on the number of curves).
43-
#' @param multiplot_scales **character(1)** \cr Scales for the multiplot layout, default is "free" (which means that each plot has its own scales). Other options are "fixed", "free_x", "free_y".
43+
#' @param multiplot_scales **character(1)** \cr Scales for the multiplot layout, default is "fixed" (which means that each plot has the same scale). Other options are "free", "free_x", "free_y".
4444
#' @param RF_colour_threshold **character(1)** \cr Response factor plot: Colour for horizontal threshold lines, default is "orange".
4545
#' @param RF_colour_within **character(1)** \cr Response factor plot: Colour for points and lines within the final linear range, default is "#00BFC4" (default ggplot colour).
4646
#' @param RF_colour_outside **character(1)** \cr Response factor plot: Colour for horizontal outside of the final linear range, default is "#F8766D" (default ggplot colour).
@@ -157,7 +157,7 @@ CalibraCurve <- function(data_path = NULL,
157157

158158
### check if all files are valid (correct file type)
159159

160-
all_files <- all_files[all_files$file_ext == filetype,]
160+
all_files <- all_files[filetable$file_ext == filetype,]
161161

162162

163163

0 commit comments

Comments
 (0)