Releases: USGS-R/inlmisc
inlmisc 0.5.5
inlmisc 0.5.5
- Stop running example in
RecreateLibraryfunction.
inlmisc 0.5.4
- Explicitly set
stringsAsFactorsoption in all calls to functionsdata.frameandas.data.frame.
inlmisc 0.5.3
-
Fix inkscape command in
render-tables.Rscript. -
Fix bug in
SetPolygonsthat resulted in error. -
Fix invalid URL's.
inlmisc 0.5.2
- Fixed invalid URL's.
inlmisc 0.5.1
-
Import wordcloud2 and webshot packages, and suggest png package. The webshot package has as a dependency the external program PhantomJS.
-
Add
CreateWordCloud, used to create a word cloud from a frequency table of words, and plot to a PNG file.
inlmisc 0.5.0
- Add top-level README.Rmd file.
- Remove LICENSE.note file from package, and replace witha repo-only LICENSE.md file.
- Add DISCLAIMER.md file.
- In LaTeX preamble, include new solution for printing fancy header on all pages.
- In
AddInsetMap, addfeatureargument, used to add one or more spatial features to the inset map.
inlmisc 0.4.9
-
In LaTeX preamble, omit group separators in the decimal part when using siunitx package.
-
In
GetColors, type change from diverging to sequential for color schemes:"berlin","broc","cork","lisbon","oleron","tofino", and"vik". Results from CPTs not actually having a zero entry. -
In
PlotMap, fix bug resulting from change inraster::cropthat returns an error when the subset is empty, was previously returningNULL. -
In
FindOptimalSubset, stop setting state of random number generator whenseedargument isNULL.
Version 0.4.8
inlmisc 0.4.8
-
In
FindOptimalSubsetfunction, addnumIslandsargument, used to specify the number of islands, was previously dependent on theparallelargument; change default value ofelitismargument from 0 to 5-percent of the island population. -
Add misc/latex-packages.txt file: contains a list of required LaTeX packages that are not included in the default installation of TinyTeX; use the
inlmisc:::InstallLatexPackages()command to install these packages into TinyTeX. -
In LaTeX preamble, replace xcolor package with color, eliminates an annoying warning when compiling document.
-
In
GetColorsfunction, add"turbo"color scheme. -
In
SetHingefunction, non-backward compatible change to allocating colors on each side of hinge, is only perceivable when the number of colors is small (n < 10). -
Rename
PrintHelpPagesfunction toPrintPackageHelp. Preserve empty lines in the Examples section of help documentation; fix parsing bug associated with identifying code blocks; tidy main header for each help topic; addinternalargument, used to print help pages flagged with keywordinternal; replacehrargument withsep; addtitle_to_nameargument, used to replace the help-topic "title" with its "name"; addnotrunargument, used to remove## Not runcomments; include internal links by default. -
In
Grid2Polygons, addcheck_validityargument, used to check the validity of polygons. -
Fix bugs in raw/build-datasets.R and raw/render-tables.R files that incorrectly called
IsColorfunction. -
Change package dependency from R >= 3.4.0 to R >= 3.5.0 because serialized objects in serialize/load version 3 cannot be read in older versions of R.
Version 0.4.7
inlmisc 0.4.7
- In
SetPolygons, setcheckValidityargument to 2 and suppress warnings.
inlmisc 0.4.6
-
Add
"usgs_article"template for R Markdown documents. This template is experimental and subject to change in the future. -
Set
checkValidityargument to 2 (check and try to buffer by zero distance to repair) in many of the rgeos function calls. -
In
AddColorKey, remove border line around color blocks. -
In
Grid2Polygons, improved performance; change polygon cropping function fromraster::croptoSetPolygons. -
In
RecreateLibrary, removegithuboption that allowed package installation from GitHub repositories. -
Add
PrintHelpPagesfunction, used to print the HTML code associated with help pages of a loaded R package. -
In
BuildVignettesfunction, rearrange order of arguments and adddocargument, used to specify the directory to write vignette output files. -
In
GetColorsfunction, add"bpy"(blue-pink-yellow) color scheme. -
In
AddPointsfunction, change interval to reflect labels, that is, open at the left and closed at right. -
Add
AddIntervalsfunction, used to add vertical interval symbols to plots. Replaces use ofgraphics::arrowsinPlotGraphfunction, and avoids the warning message resulting from an arrow length less than 1/1000 inch. -
In misc/preamble.tex file: reduce hyphenation and prevent writing into margin.
-
In
PlotGraphfunction: improve handling of cases where range ofyvalues is zero; extend y-axis limits to prevent symbols from being drawn on an axis limit; change margin line for the main title, axis title, and axis labels; decrease size of upper margin by 0.2 lines; addadd.gridargument, determines whether to draw a rectangular grid. -
In
PrintFigurefunction, allow heading on single figure. -
In
AddSearchButtonfunction, fix bug that prevented popup from opening whenopenPopupargument is true.
Version 0.4.4
inlmisc 0.4.4
-
Add
BuildVignettesfunction, used to build package vignettes. -
In
SummariseBudgetfunction, improve memory management. -
Change package imports by adding data.table and removing dplyr.
-
Add
SetHingefunction, used to specify a hinge location in a color palette. -
In
PrintTablefunction:dargument can be of class 'matrix'; and a default caption is no longer added whentitleandheadnotesarguments are not specified. -
Tidy help documentation
-
Add
GetRegionOfInterestfunction, used to calculate the region of interest from spatial points. -
In
FindOptimalSubsetfunction: improve matrix construction ofsuggestions; change calculation of number of bits in a number. -
In
AddColorKeyfunction, rearrange order of arguments. -
In
PlotCrossSectionfunction: addbend.labelargument, used to place labels at top of the bend-in-section lines; change default value ofbg.colargument from"#FFFFFFD8"toNULL, and forscale.locargument from"bottom"toNULL; make font/line color darker for section breaks and features. -
Rename
GetTolColorsfunction toGetColors. Add additional color schemes; replacestartandendarguments withstops, a vector of length 2; changeblindargument option from"monochromacy"to"monochrome"; return a variant of theGetColorsfunction when argumentnis unspecified. -
For leaflet-search plugin, change version from
2.8.0to2.9.6and tidy wrapper functions. -
In
CreateWebMapfunction, addserviceargument for specifying the mapping service to use for accessing base-map tiles. -
Change required R version from
>= 3.2.0to>= 3.4.0.
Version 0.4.3
inlmisc 0.4.3
-
Add
AddNorthArrowfunction, was previously defined as an internal function. -
In
AddScaleBarfunction: non-backward compatible argument changes. Removeoffsetargument and replace with..., see help documentation for details. -
Make dichromat a suggested package.
-
Remove viridisLite from suggested packages.
-
Add
GetInsetLocationfunction, used to determine the location for a inset graphics in the main plot region. -
In
AddPointsfunction: addbty,draw.legend, anddraw.pointsarguments. -
In
PlotGraphfunction: addxpdargument, determines whether point and (or) line symbols are clipped to the plot region; change default color scheme; change contents offillargument (non-backward compatible) and add afillcolorargument; providemainargument a default value ofNULL. -
In
FindOptimalSubsetfunction, addmonitorargument to check on status of GA run. -
In
GetTolColorsfunction: add color schemes; change default scheme from"bright"to"smooth rainbow"; addstart,end,bias,reverse,blind, andgrayarguments.
Version 0.4.2
inlmisc 0.4.2
-
In
GetTolColorsfunction, revise color schemes based on issue 3.0 of technical note. -
In
PlotGraphfunction, improve placement of tick marks. -
Remove colorspace from suggested packages and replace with viridisLite.
-
In
ToScientificfunction, better identify whether to print numeric values in fixed or scientific notation. -
In
AddScaleBarfunction, non-backward compatible argument changes and formatting improvements. -
In
PlotGraphfunction: fix bug that resulted in an error whentype = "n"; and addmainargument for placing a title at the top of the plot. -
Make gstat and roxygen2 suggested packages.
-
Remove httr, maps, and maptools from suggested packages.
-
In misc/preamble.tex file: tidy code; include fix for spacing after number in List of Figures and List of Tables; remove helvet package; and add float package, provides the H float modifier option.
-
In
AddInsetMap: add an optionaleargument, a numeric vector describing the extent of the smaller axis-aligned rectangle; add "center" option forlocargument; and addbtyargument, determines if a box is to be drawn around the inset map. -
Update leaflet-search.min.js and leaflet-search.min.css files to version 2.8.0.
-
Add
PrintFigurefunction, used to print the LaTeX code associated with a figure.
Version 0.4.0
inlmisc 0.4.0
-
Add
GetTolColorsfunction, used to access color palettes by Paul Tol. -
Avoid importing all functions from a package.
-
Remove
AddCertificatefunction, no longer needed with new version of R (3.4.3). -
Add
PrintTablefunction, used to print the LaTeX code associated with adata.frameobject. -
In
PlotMapfunction, remove option to map points. -
In
ReadCodeChunksfunction, remove dependency on knitr-intro.Rmd file in example. -
In
AddColorKeyfunction, replacescientificargument withscipen, seegetOption("scipen")command. -
In
AddColorKeyfunction, addlogargument to specify axis to be logarithmic. -
In
AddColorKey, use m x 10^n format for tick labels written in scientific notation. -
In
RecreateLibraryfunction, addparallelargument to install packages from source using parallel processes. -
In
ToScientificfunction, addbig.markargument with default value of",". -
In
ToScientificfunction, fix bug that formated0asNAwhentype = "plotmath". -
In
CreateWebMapfunction, pass...arguments toleaflet::leafletfunction, these arguments were previously passed to theleaflet::leafletOptionsfunction. -
In
CreateWebMapfunction, addmapsargument to specify which base maps to include. -
In
CreateWebMapfunction, remove coordinates and zoom level information from top of map. -
Add
AddHomeButton,AddClusterButton, andAddSearchButton, andAddLegendfunctions, used to add additional web map elements. -
In
FindOptimalSubsetfunction, allow integer chromosomes to be specified for thesuggestionsargument. -
Add additional argument checks using checkmate package.
Version 0.3.5
inlmisc 0.3.5
-
In
PlotMapfunction, fix bug introduced by previous fix of raster range calculation. -
Made
AddCertificatean 'internal' function. -
Add argument checks using checkmate package.
inlmisc 0.3.4
-
In
PlotMapfunction, fix bug in range calculation of raster values by removingfinite = TRUE. -
In
PlotMapfunction, fix extent of background image, rivers, lakes, and roads usingpar("usr"). -
Add
FindOptimalSubsetfunction, used to identify an optimal subset using a genetic algorithm.
inlmisc 0.3.3
-
In
AddPointsfunction: add option to scale symbol size to radius;
revise calculation of symbol size and legend labels. -
In
PlotMapfunction, letrargument accept any object that can be converted to aRasterLayerclass. -
In LaTeX preamble: add verbatimbox package; add maketitle format.
-
In
PlotMapfunction, addsimplifyargument, used to convert raster to polygons prior to plotting. -
In
Grid2Polygonsfunction: allowgrdargument to be an object of classSpatialPixelsDataFrameorRaster*; transform coordinate reference system (CRS) ofplyargument to match the CRS of thegrdargument; and addzlimargument, a limit on the attribute variable. -
In
ToScientificfunction, add argumentsscipen,delimiter, and...; and renamelab.typeargument totype. Code in place for backwards compatibility.