Skip to content

Commit

Permalink
fix wrong object name
Browse files Browse the repository at this point in the history
  • Loading branch information
jniedballa committed Aug 3, 2023
1 parent 677d389 commit 0bcbff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/variousOtherHelperFunctions.R
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ checkCamOpColumnNames <- function(cameraOperationMatrix){

if(any(is.na(colnames(cameraOperationMatrix)))) stop("There are NAs in the column names of camOp", call. = FALSE)

if(!all(diff(as.Date(colnames(camop))) == 1)) stop("Column names in camop must be a continuous sequence of dates without gaps", call. = FALSE)
if(!all(diff(as.Date(colnames(cameraOperationMatrix))) == 1)) stop("Column names in camop must be a continuous sequence of dates without gaps", call. = FALSE)

# check if camera operration matrix has time shift
if(all(grepl(pattern = "+", colnames(cameraOperationMatrix), fixed = TRUE))){
Expand Down

0 comments on commit 0bcbff8

Please sign in to comment.