Recent Releases of burnr
burnr - burnr v0.6.1
Changes in this release:
-
Test for new ks.test behavior in r-devel. (@brews, PR #191)
-
Update DOI badge and support documentation on main website and README. (@chguiterman, PR #182)
Biosphere - Wildfire
- R
Published by brews over 4 years ago
burnr - burnr v0.6.0
Changes in this release:
-
Add rlang, stringr, forcats, and tidyr as package dependencies.
-
Fix bug in
plot_demograph()to handle discontinuous recording periods. Thanks to Mannie Lopez for finding that this addition disrupted the series sorting. (@chguiterman, #78) -
Fix bug where
"springdormant_fs"was omitted from the list of scar types inburnr:::rec_type_recording. This caused problems in the calculation ofpercent_scarred()because too few trees were recognized as recording in the year of fire. This would have also caused problems incomposite(). Thanks to @GuobaoXu for finding the error and tracing its origin. (@chguiterman, #162, #167) -
Change to format of FHX2 files output from
write_fhx()to include a space between the data block and years. (@chguiterman, #162) -
Add flexibility to
read_fhx()to handle extra space at bottom of file. This is commonly present in some non-standardized FHX files available on the IMPD. (@chguiterman, #162, #164) -
Add DOI badge to the README. (@chguiterman, #162)
-
Add a new example to
get_year()documentation to aid users subsetting anfhxobject based on before/after a particular cut-off year. (@chguiterman, #173) -
Update
count_event_position()to accommodate non-standard positions inrec_type. (@chguiterman, #161) -
Add "spring dormant" to the set of
rec_types. This is a non-standard descriptor for fire scar seasonality. This aids with cases where"D"dormant scars as the unknown year of a dormant scar (in the Northern Hemisphere). (@chguiterman, #161) -
Update README creation to Rmarkdown (.Rmd) file with
usethis::use_readme_rmd(). (@chguiterman, #161) -
Fix typo in citation file. (@chguiterman, #161)
-
Add general unit tests to increase test coverage.
Biosphere - Wildfire
- R
Published by brews about 5 years ago
burnr - burnr v0.5.0
Changes in this release:
-
Added
as_fhx()(Issue #120). This takes data frames, tibbles, and lists as input. It assumes they have "year", "series", and "rec_type" elements/columns. It returns anfhxobject. Additionally, thefhx()constructor now also uses type casting for input (Issue #150) - so no more worrying if yourrec_typesare factors or character vectors. These changes are a big improvement for anyone working in the tidyverse or anyone working with thier own non-FHX fire-history file formats. -
Extensive improvement to documentation (e.g. Issue #145). This includes new "See Also" sections (so users can find cool functions), fixes for spelling errors, and clarifications to dyslexic prose.
-
write_fhx()will now throw a warning if users try to write anfhxobject that has record types violating the FHX2 file convention (Issue #149). I still strongly recommend usingwrite.csv(...)onfhxobjects andas.fhx(read.csv(...))for IO with experimentalfhxdata. -
Removed deprecated
run_sea(). Be sure to usesea()now. -
Removed deprecated
get_ggplot(). Please useplot_demograph()now. -
Removed broken
site_stats()function (Issue #138). Please useintervals()andprint()to get the same statistics. -
composite()now returns an emptyfhxobject if no composite-worthy events are found (Issue #131) or if there are no fire-events (Issue #155). Much better than throwing an obtuse error, which is what we used to do. -
Updated in-package citation information (
citation("burnr")). Please cite burnr if you use it in your work! -
yearly_recording()now returns a data frame with a numeric "year" column (Issue #154). In past versions, the "year" column contained factors. -
Added unit tests for basic plotting function options. We now have test coverage for more than 75% of our code.
-
Minor internal code cleanup (Issue #130, Issue #88, Issue #133, Issue #136, Issue #88, Issue #146) and code linting.
Biosphere - Wildfire
- R
Published by brews over 6 years ago
burnr - burnr v0.4.0
Changes in this minor release:
-
read_fhx()is more tolerant of extra whitespace in series names. Thanks to Chris Guiterman (@chguiterman) for adding this. -
Fixed documentation examples not rendering for
sea()(Issue #125). -
Minor argument clarification in
composite()documentation (Issue #127).
Biosphere - Wildfire
- R
Published by brews almost 7 years ago
burnr - burnr v0.3.1
Changes in this patch:
-
Updates to documentation and README.
-
Quick fixes to SEA unit tests, forcing them to use R 3.5.0 RNG as a temporary fix to issue #124.
Biosphere - Wildfire
- R
Published by brews about 7 years ago
burnr - burnr v0.3.0
Changes in this minor release:
-
Change to
seaobjects, addedevent_years. -
Added function
percent_scarred()for calculating timeseries of number trees recording, scarred, and the percentage. -
Update to
sample_depth()to account for single-series fhx objects -
Several updates to documentation, including citation.
Biosphere - Wildfire
- R
Published by brews over 7 years ago
burnr - burnr v0.2.2
Changes in this patch:
-
Added warnings and errors to catch bad input on
seas()(#112). -
Added warning if using
series_mean_interval()on fhx object with multiple series (#113). -
Fixed bad numbers in
print()for SEAs objects (#111). -
Fixed typos in warning messages (#114).
Biosphere - Wildfire
- R
Published by brews over 8 years ago
burnr - burnr v0.2.1
Changes in this patch:
-
intervalsobjects' KS test for distribution test is now two sided (Issue #108). -
Printed
intervalsobjects now report the Weibull median, regardless of fit chosen (Issue #109).
Biosphere - Wildfire
- R
Published by brews over 8 years ago
burnr - burnr v0.2.0
Changes in this minor release:
-
Renamed
run_sea()tosea()and enhanced speed, and changed thetime_spanparameter toevent_range,keyargument is nowevent, andyears_beforeandyears_afterare nownbeforeandnafter, respectively. The function now returns a proper sea object with specialplot()andprint()methods. Theplot()generic method uses the newplot_sealags(). You can still use the oldrun_sea(), but it is deprecated and will be removed in future releases. We're happy with the general interfaces tosea()but its internal structure may change over the next few minor releases, so beware. -
Added
intervals()to handle interval analysis. These are a whole new object.mean_interval()has been renamedseries_mean_interval()to avoid confusion. We also have a genericplot()function that usesplot_intervals_dist(). It plots a little histogram with a rug along the x-axis. -
Added
pgm_pdsidata to run with sea. Load it withdata("pgm_pdsi"). -
Added
make_rec_type(). I hope this will make it easier to createrec_typefactors used byfhx(). -
Added
event_count_position(), which gives the number of events found in different positions or seasons. -
Added
year_range()to give (min, max) years for anfhxobject. -
Updated
composite()to include a filter for number of events. This necesitates fixes in other functions (e.g.plot_demograph()). -
Added
summary()function for fhx and intervals objects. -
count_fire()renamedcount_scar() -
Added
quantile()function for intervals.
Biosphere - Wildfire
- R
Published by brews about 9 years ago
burnr - burnr v0.1.2
Changes in this patch:
- Fixed bug in
read_fhx()caused by "FHX2 format" in FHX file header. - Fixed bug #71, causing
read_fhx()to fail when FHX has empty last line. - Added
textoption toread_fhx(). - Corrected error message for
seriesarg infhx(). Fixes #73. - Fixed write_fhx() reversing order of series names in output file.
Biosphere - Wildfire
- R
Published by brews over 9 years ago
burnr - burnr v0.1.1
Changes in this patch:
- Added option to sort series by their last (or most recent) year with
sort(). - Updated
run_sea()to better replicate EVENT Fortran program. Addresses #58. Added detailed description and an example page with graphics. Also fixed issue with percentage confidence intervals in the departure table. Mind you,run_sea()is still very experimental. - Several minor changes to documentation and meta data.
Biosphere - Wildfire
- R
Published by brews almost 10 years ago
burnr - burnr v0.1.0
Changes in this minor release:
- Added a vignette!
get_ggplot()is being depreciated. Please useplot_demograph().- Changed design of fhx objects. They are now data.frame and not lists (nobody used the 'meta', list member anyways). This means that if x is your fhx object and you previously used x$rings, you can now just use x.
- Added function
is.fhx(). - Updated
pgmexample data. - composite() now returns an fhx object.
- Added function get_event_years() to find fire and fire injury years in fhx objects. This is especially helpful for composites.
concatenate()andcombine()were reverted back to '+' at the request of beloved users. This means code likelgr2 + pgmwill combine these objects together into a single fhx object!- Added examples to all function documentation.
resolve_duplicates()is now hidden (i.e.burnr:::check_duplicates()).- Added function sample_depth() to get sample depth.
- Added run_sea function to begin to address issue #58. Has pretty table output. This is still very experimental.
- Bug fix in series_stats to maintain series IDs for those with no features
- Changed composite() behavior. Now more similar to FHAES. Can choose to count injuries as "fire events" with the injury_event argument.
- Added count_recording() function.
- Fixed minor bugs in series_stats.
- Removed sorting by default on read_fhx() and '+.fhx'
- Fixed sort()s non-responsive decreasing argument.
- Fixed poor sorting function for FHX objects.
- Added several small utility functions:
get_year(),get_series(),series_names(),delete(). - Improved documentation!
- Adding series_stats function, closes issue #44.
Biosphere - Wildfire
- R
Published by brews almost 10 years ago
burnr - v0.0.2
burnr v0.0.2
Changes in this patch:
plot()andget_ggplot()should no longer allow the user to plot facets and composite rugs in the same plot. This closes bug #25.- Ring types (the
rec_typecolumn inx$rings) has "." in all levels replaced with a "_". For example, 'dormant.fs' is now 'dormant_fs.' Closes #45. - In
get_ggplot()thelegendargument is nowplot_legendto avoid clash with common functions. - In
fhx$ringsand all functions,typearugment is nowrec_typeto avoid clash withtypefunction.rec_typeis short for "record_type". - Can now read FHX files with a single series (closes bug #43).
concatenate()has been renamedcombine()at the request of beloved users.lgr2andpgmare available fire-history datasets when you load this package. The metadata for each of these sets islgr2_metaandpgm_meta. Load the data withdata().
Biosphere - Wildfire
- R
Published by brews over 10 years ago
burnr - v0.0.1
burnr v0.0.1
- First github release
- Added
NEWS.mdfile. Existing users should check back here for changes. rug.filterfunction is renamedcomposite.ggplot.fhxis nowget_ggplot. This is more descriptive. The following arguments for this function have been changed as a part of this fix:plot.rugis nowcomposite_rug,filter.minis nowfilter_min,filter.propis nowfilter_prop,event.sizeis nowevent_size,rugbuffer.sizeis nowrugbuffer_size,rugdivide.posis nowrugdivide_pos.sppargument is renamed tocolor_group.sppidis nowcolor_id.clusteris nowfacet_group.clusteridis nowcluster_id.read.fhxfunction is renamedread_fhx.write.fhxfunction is renamedwrite_fhx.order.fhxis nowsort(see methodsort.fhx). Also, added a boolean argumentdecreasing, which defaults to FALSE. Previously this has been TRUE..+withfhxobjects, (+.fhx) is nowconcatenate. So,a + bshould now beconcatenate(a, b).- Fixed bug that disappeared a series which started or ended with fire scars.
Biosphere - Wildfire
- R
Published by brews over 10 years ago
burnr -
burnr v0.0.1.9000
Trying to get most of the compatibility-breaking code out of the way now. Consider this a beta release. A stable version of this will be released in early November, 2015. The stable release will include fixes for major bugs found during beta testing.
Major changes from earlier code includes:
- Added
NEWS.mdfile. Existing users should check back here for changes. rug.filterfunction is renamedcomposite.ggplot.fhxis nowget_ggplot. This is more descriptive. The following arguments for this function have been changed as a part of this fix:plot.rugis nowcomposite_rug,filter.minis nowfilter_min,filter.propis nowfilter_prop,event.sizeis nowevent_size,rugbuffer.sizeis nowrugbuffer_size,rugdivide.posis nowrugdivide_pos.sppargument is renamed tocolor_group.sppidis nowcolor_id.clusteris nowfacet_group.clusteridis nowcluster_id.read.fhxfunction is renamedread_fhx.write.fhxfunction is renamedwrite_fhx.order.fhxis nowsort(see methodsort.fhx). Also, added a boolean argumentdecreasing, which defaults to FALSE. Previously this has been TRUE. Change in default behavior makes it makes it more comparable with R's genericsortfunction.+withfhxobjects, (+.fhx) is nowconcatenate. So,a + bshould now beconcatenate(a, b).
Biosphere - Wildfire
- R
Published by brews over 10 years ago