Skip to content

Commit

Permalink
Merge pull request #47 from pinduzera/main
Browse files Browse the repository at this point in the history
Fix Issue #46 dataStep action failing on Rest Protocol
  • Loading branch information
bkemper24 authored Jun 5, 2023
2 parents fd11e33 + 7000ab6 commit 8d12746
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions R/rswat_rest.R
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,11 @@ REST_CASTable <- setRefClass(
# Convert rows of data to data.frame
out$stringsAsFactors = FALSE
out <- do.call(rbind.data.frame, out)
names(out) <- col.names


if (length(names(out)) > 0 ) {
names(out) <- col.names
}

return( out )
},

Expand Down

0 comments on commit 8d12746

Please sign in to comment.