Releases: USGS-R/inlmisc
inlmisc 0.5.5
inlmisc 0.5.5
- Stop running example in
RecreateLibrary
function.
inlmisc 0.5.4
- Explicitly set
stringsAsFactors
option in all calls to functionsdata.frame
andas.data.frame
.
inlmisc 0.5.3
-
Fix inkscape command in
render-tables.R
script. -
Fix bug in
SetPolygons
that 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
, addfeature
argument, 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::crop
that returns an error when the subset is empty, was previously returningNULL
. -
In
FindOptimalSubset
, stop setting state of random number generator whenseed
argument isNULL
.
Version 0.4.8
inlmisc 0.4.8
-
In
FindOptimalSubset
function, addnumIslands
argument, used to specify the number of islands, was previously dependent on theparallel
argument; change default value ofelitism
argument 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
GetColors
function, add"turbo"
color scheme. -
In
SetHinge
function, 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
PrintHelpPages
function 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; addinternal
argument, used to print help pages flagged with keywordinternal
; replacehr
argument withsep
; addtitle_to_name
argument, used to replace the help-topic "title" with its "name"; addnotrun
argument, used to remove## Not run
comments; include internal links by default. -
In
Grid2Polygons
, addcheck_validity
argument, used to check the validity of polygons. -
Fix bugs in raw/build-datasets.R and raw/render-tables.R files that incorrectly called
IsColor
function. -
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
, setcheckValidity
argument 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
checkValidity
argument 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::crop
toSetPolygons
. -
In
RecreateLibrary
, removegithub
option that allowed package installation from GitHub repositories. -
Add
PrintHelpPages
function, used to print the HTML code associated with help pages of a loaded R package. -
In
BuildVignettes
function, rearrange order of arguments and adddoc
argument, used to specify the directory to write vignette output files. -
In
GetColors
function, add"bpy"
(blue-pink-yellow) color scheme. -
In
AddPoints
function, change interval to reflect labels, that is, open at the left and closed at right. -
Add
AddIntervals
function, used to add vertical interval symbols to plots. Replaces use ofgraphics::arrows
inPlotGraph
function, 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
PlotGraph
function: improve handling of cases where range ofy
values 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.grid
argument, determines whether to draw a rectangular grid. -
In
PrintFigure
function, allow heading on single figure. -
In
AddSearchButton
function, fix bug that prevented popup from opening whenopenPopup
argument is true.
Version 0.4.4
inlmisc 0.4.4
-
Add
BuildVignettes
function, used to build package vignettes. -
In
SummariseBudget
function, improve memory management. -
Change package imports by adding data.table and removing dplyr.
-
Add
SetHinge
function, used to specify a hinge location in a color palette. -
In
PrintTable
function:d
argument can be of class 'matrix'; and a default caption is no longer added whentitle
andheadnotes
arguments are not specified. -
Tidy help documentation
-
Add
GetRegionOfInterest
function, used to calculate the region of interest from spatial points. -
In
FindOptimalSubset
function: improve matrix construction ofsuggestions
; change calculation of number of bits in a number. -
In
AddColorKey
function, rearrange order of arguments. -
In
PlotCrossSection
function: addbend.label
argument, used to place labels at top of the bend-in-section lines; change default value ofbg.col
argument from"#FFFFFFD8"
toNULL
, and forscale.loc
argument from"bottom"
toNULL
; make font/line color darker for section breaks and features. -
Rename
GetTolColors
function toGetColors
. Add additional color schemes; replacestart
andend
arguments withstops
, a vector of length 2; changeblind
argument option from"monochromacy"
to"monochrome"
; return a variant of theGetColors
function when argumentn
is unspecified. -
For leaflet-search plugin, change version from
2.8.0
to2.9.6
and tidy wrapper functions. -
In
CreateWebMap
function, addservice
argument for specifying the mapping service to use for accessing base-map tiles. -
Change required R version from
>= 3.2.0
to>= 3.4.0
.
Version 0.4.3
inlmisc 0.4.3
-
Add
AddNorthArrow
function, was previously defined as an internal function. -
In
AddScaleBar
function: non-backward compatible argument changes. Removeoffset
argument and replace with...
, see help documentation for details. -
Make dichromat a suggested package.
-
Remove viridisLite from suggested packages.
-
Add
GetInsetLocation
function, used to determine the location for a inset graphics in the main plot region. -
In
AddPoints
function: addbty
,draw.legend
, anddraw.points
arguments. -
In
PlotGraph
function: addxpd
argument, determines whether point and (or) line symbols are clipped to the plot region; change default color scheme; change contents offill
argument (non-backward compatible) and add afillcolor
argument; providemain
argument a default value ofNULL
. -
In
FindOptimalSubset
function, addmonitor
argument to check on status of GA run. -
In
GetTolColors
function: add color schemes; change default scheme from"bright"
to"smooth rainbow"
; addstart
,end
,bias
,reverse
,blind
, andgray
arguments.
Version 0.4.2
inlmisc 0.4.2
-
In
GetTolColors
function, revise color schemes based on issue 3.0 of technical note. -
In
PlotGraph
function, improve placement of tick marks. -
Remove colorspace from suggested packages and replace with viridisLite.
-
In
ToScientific
function, better identify whether to print numeric values in fixed or scientific notation. -
In
AddScaleBar
function, non-backward compatible argument changes and formatting improvements. -
In
PlotGraph
function: fix bug that resulted in an error whentype = "n"
; and addmain
argument 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 optionale
argument, a numeric vector describing the extent of the smaller axis-aligned rectangle; add "center" option forloc
argument; and addbty
argument, 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
PrintFigure
function, used to print the LaTeX code associated with a figure.
Version 0.4.0
inlmisc 0.4.0
-
Add
GetTolColors
function, used to access color palettes by Paul Tol. -
Avoid importing all functions from a package.
-
Remove
AddCertificate
function, no longer needed with new version of R (3.4.3). -
Add
PrintTable
function, used to print the LaTeX code associated with adata.frame
object. -
In
PlotMap
function, remove option to map points. -
In
ReadCodeChunks
function, remove dependency on knitr-intro.Rmd file in example. -
In
AddColorKey
function, replacescientific
argument withscipen
, seegetOption("scipen")
command. -
In
AddColorKey
function, addlog
argument to specify axis to be logarithmic. -
In
AddColorKey
, use m x 10^n format for tick labels written in scientific notation. -
In
RecreateLibrary
function, addparallel
argument to install packages from source using parallel processes. -
In
ToScientific
function, addbig.mark
argument with default value of","
. -
In
ToScientific
function, fix bug that formated0
asNA
whentype = "plotmath"
. -
In
CreateWebMap
function, pass...
arguments toleaflet::leaflet
function, these arguments were previously passed to theleaflet::leafletOptions
function. -
In
CreateWebMap
function, addmaps
argument to specify which base maps to include. -
In
CreateWebMap
function, remove coordinates and zoom level information from top of map. -
Add
AddHomeButton
,AddClusterButton
, andAddSearchButton
, andAddLegend
functions, used to add additional web map elements. -
In
FindOptimalSubset
function, allow integer chromosomes to be specified for thesuggestions
argument. -
Add additional argument checks using checkmate package.
Version 0.3.5
inlmisc 0.3.5
-
In
PlotMap
function, fix bug introduced by previous fix of raster range calculation. -
Made
AddCertificate
an 'internal' function. -
Add argument checks using checkmate package.
inlmisc 0.3.4
-
In
PlotMap
function, fix bug in range calculation of raster values by removingfinite = TRUE
. -
In
PlotMap
function, fix extent of background image, rivers, lakes, and roads usingpar("usr")
. -
Add
FindOptimalSubset
function, used to identify an optimal subset using a genetic algorithm.
inlmisc 0.3.3
-
In
AddPoints
function: add option to scale symbol size to radius;
revise calculation of symbol size and legend labels. -
In
PlotMap
function, letr
argument accept any object that can be converted to aRasterLayer
class. -
In LaTeX preamble: add verbatimbox package; add maketitle format.
-
In
PlotMap
function, addsimplify
argument, used to convert raster to polygons prior to plotting. -
In
Grid2Polygons
function: allowgrd
argument to be an object of classSpatialPixelsDataFrame
orRaster*
; transform coordinate reference system (CRS) ofply
argument to match the CRS of thegrd
argument; and addzlim
argument, a limit on the attribute variable. -
In
ToScientific
function, add argumentsscipen
,delimiter
, and...
; and renamelab.type
argument totype
. Code in place for backwards compatibility.