Skip to content

Commit

Permalink
removing for loop - see comments on PR USGS-R#357
Browse files Browse the repository at this point in the history
  • Loading branch information
Lindsay Carr committed Jun 20, 2016
1 parent 10134a6 commit 4cfc818
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions R/correctionsataglance-data.R
Original file line number Diff line number Diff line change
Expand Up @@ -228,9 +228,7 @@ findOverlap <- function(dataList){

#ordered by applied date for process order data
if (isEmptyOrBlank(dataIn$applyDates)) {
for (i in 1:length(dataIn)) {
dataIn[i]$applyDates <- NA
}
dataIn$applyDates <- NA
}
dataIn_df <- as.data.frame(dataIn, stringsAsFactors = FALSE)
if(any(names(dataIn) %in% 'corrLabel')){
Expand Down

0 comments on commit 4cfc818

Please sign in to comment.