Skip to content

Commit

Permalink
make.names() #47
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Romain committed May 13, 2024
1 parent 1e92b1a commit 0c94405
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

- Fix: #48 segfault with `delete_points()` when 0 points left.
- Enhance: #47 pipelines are named `list`.
- Enhance: #47 the output `list` returned by `exec` is named and duplicated names are made unique with `make.names()`

# lasR 0.5.3

Expand Down
1 change: 1 addition & 0 deletions R/processor.R
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ exec = function(pipeline, on, with = NULL, ...)

if (!with$noread) ans <- read_as_common_r_object(ans)
ans <- Filter(Negate(is.null), ans)
names(ans) <- make.names(names(ans), unique = TRUE)

if (length(ans) == 0)
return(NULL)
Expand Down

0 comments on commit 0c94405

Please sign in to comment.