ngdist, a dist object
containing road distances (in km) between all 37 Nigerian State
capitals, sourced from UNDP.ng_distance() for convenient lookup of the
driving distance between any two State capitals, with support for
kilometres and miles.naijR::lgas(<states>) failed
because the package was not attached to the search path due to an
internal issue with object lookup.lgas() function. LGA output
for objects constructed from multiple States is now properly sorted,
including the constituent State names. This will improve naked eye
search by users.states_nigeria for the States of
Nigeria.{sf}
package is now the main dependency.map_ng gained a newly documented argument
plot, which hitherto was passed internally to
maps::map() via ....disambiguate_lga, which takes a
single-element lgas object for handling the names of Local
Government Areas that are shared between separate States. This function
enables the (re)setting of the State attribute of such
objects; this can be done interactively, where the replicated States’
names are presented for selection by users.fix_region, the
lgas constructor function does not warn if there are
spelling mistakes, as this turned out to be a bit confusing when it was
used. In earlier versions, warnings persisted even after fixes were
applied.cex argument
(passed on to maps::map.text internally, via
...).?InternalGenerics were introduced
e.g. for c(), [, [[,
na.exclude, etc.0s) with the letter O (works for both upper
and lower case).regions.legend.text for
map_ng using an idiom that is similar to the one used in
base::barplot, thanks to observations made by @VictoriaLatham in
issue #27.map_ng accepted arguments that were not
data.frames leading to unwieldy errors. It is now made sure
to fail early in such casesmap_ng - leg.x,
leg.y, and leg.orient were marked for
deprecation in the next minor release.fix_mobile fails unexpectedly when only NA
is supplied as argument. This causes practical problems when, for
example, it encounters a column with only missing values.states and lgas
objects.lgas objects in
the event that the argument provided is the name of an LGA that is
synonymous with it’s State (argument strict).head and
tail to work with objects that inherit from class
regions.states and lgas gain a
logical argument warn to control whether or not they issue
a warning when an input string does not contain an actual
State/LGA.naijR::lgas() was producing an error.fix_region.is_lga, which checks an object for
Local Government Areas.is_state when the
object checked is not of type character.is_state when it is
called internally by package function; displayed only when function is
called directly.NEWS.md file to track changes to the
package.is_state so
it can be used more effectively for functional programming
constructs.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.