The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
regions objects are created
(i.e. states and lgas) two things occur that
potentially malform the user’s data: 1) Only unique values were returned
and 2) the result was sorted. The two constructor functions were fixed
so that these 2 changes no longer occur.print methods. Thus, the output show sorted, unique
values, but the underlying vector remains unchanged.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.These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.