Skip to content

Commit

Permalink
Fix CRAN check
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Romain committed Apr 20, 2020
1 parent a58ae82 commit 0b59d85
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Type: Package
Title: Airborne LiDAR Data Manipulation and Visualization for Forestry
Applications
Version: 2.2.4
Date: 2020-03-04
Date: 2020-04-20
Authors@R: c(
person("Jean-Romain", "Roussel", email = "jean-romain.roussel.1@ulaval.ca", role = c("aut", "cre", "cph")),
person("David", "Auty", email = "", role = c("aut", "ctb"), comment = "Reviews the documentation"),
Expand Down
6 changes: 2 additions & 4 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,9 @@

5. `grid_metrics()` returns a raster full of NAs instead of failing if a `RasterLayer` is given as a layout but this layer does not encompase the point cloud

6. `opt_output_file()` now normalizes the path.
6. `opt_output_file()` now applies tilde-expansion to the path.

7. When processing by file with an raster output, uutomatic chunk extension to match with a raster resolution now perform a tighter extension.

## lidR v2.2.3 (Release date: 2020-03-02)
7. When processing by file with an raster output, automatic chunk extension to match with a raster resolution now perform a tighter extension.

#### FIXES

Expand Down
2 changes: 1 addition & 1 deletion R/utils_catalog_options.r
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ opt_output_files = function(ctg)
if (usefilename & opt_chunk_size(ctg) > 0)
message("ORIGINALFILENAME template has been used but the chunk size is not 0. This template makes sense only when processing by file.")

value <- normalizePath(value, mustWork = FALSE)
value <- path.expand(value)
ctg@output_options$output_files <- value
return(ctg)
}
Expand Down

0 comments on commit 0b59d85

Please sign in to comment.