Skip to content

Commit

Permalink
Fixed #72
Browse files Browse the repository at this point in the history
  • Loading branch information
brews committed Sep 21, 2016
1 parent c5260b7 commit fe55243
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: burnr
Title: Advanced Fire History Analysis in R
Version: 0.1.1
Version: 0.2.9000
Authors@R: c(
person("Steven", "Malevich", email = "malevich@email.arizona.edu", role = c("aut", "cre")),
person("Christopher", "Guiterman", role = c("ctb")),
Expand Down
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# burnr v0.2.9000

Changes in this minor release:

* Fixed write_fhx() reversing order of series names in output file.

# burnr v0.1.1

Changes in this patch:
Expand Down
2 changes: 1 addition & 1 deletion R/io.R
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ write_fhx <- function(x, fname="") {
# Weird thing to move year to the last column of the data.frame:
out$yr <- out$year
out$year <- NULL
series_names <- rev(as.character(unique(x$series)))
series_names <- as.character(unique(x$series))
no_series <- length(series_names)
max_series_name_length <- max(sapply(series_names, nchar))
head_line <- "FHX2 FORMAT"
Expand Down

0 comments on commit fe55243

Please sign in to comment.