No known key found for this signature in database
GPG Key ID: 1D7529BE14E2BBA9
5 changed files with
14 additions and
7 deletions
-
DESCRIPTION
-
NEWS.md
-
README.md
-
BIN
man/figures/README-ex3-1.png
-
src/main.cpp
|
|
@ -1,8 +1,8 @@ |
|
|
|
Package: mgrs |
|
|
|
Type: Package |
|
|
|
Title: Convert 'MGRS' ('Military Grid Reference System') Coordinates From/To Other Coordinate Systems |
|
|
|
Version: 0.2.1 |
|
|
|
Date: 2019-11-28 |
|
|
|
Version: 0.2.2 |
|
|
|
Date: 2020-02-07 |
|
|
|
Authors@R: c( |
|
|
|
person("Bob", "Rudis", email = "bob@rud.is", role = c("aut", "cre"), |
|
|
|
comment = c(ORCID = "0000-0001-5670-2640")), |
|
|
@ -30,4 +30,4 @@ Imports: |
|
|
|
Rcpp, |
|
|
|
magrittr |
|
|
|
LinkingTo: Rcpp |
|
|
|
RoxygenNote: 6.1.1 |
|
|
|
RoxygenNote: 7.0.2 |
|
|
|
|
|
@ -1,3 +1,7 @@ |
|
|
|
0.2.2 |
|
|
|
|
|
|
|
* Fixes #5 |
|
|
|
|
|
|
|
0.2.0 |
|
|
|
|
|
|
|
* Added `mgrs_area()` (completes #1) |
|
|
|
|
|
@ -5,7 +5,7 @@ developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.re |
|
|
|
[![Signed |
|
|
|
by](https://img.shields.io/badge/Keybase-Verified-brightgreen.svg)](https://keybase.io/hrbrmstr) |
|
|
|
![Signed commit |
|
|
|
%](https://img.shields.io/badge/Signed_Commits-31.6%25-lightgrey.svg) |
|
|
|
%](https://img.shields.io/badge/Signed_Commits-95%25-lightgrey.svg) |
|
|
|
[![Linux build |
|
|
|
Status](https://travis-ci.org/hrbrmstr/mgrs.svg?branch=master)](https://travis-ci.org/hrbrmstr/mgrs) |
|
|
|
[![Windows build |
|
|
@ -86,7 +86,7 @@ library(tidyverse) |
|
|
|
|
|
|
|
# current version |
|
|
|
packageVersion("mgrs") |
|
|
|
## [1] '0.2.1' |
|
|
|
## [1] '0.2.2' |
|
|
|
``` |
|
|
|
|
|
|
|
### Basics |
|
|
@ -209,7 +209,7 @@ mgrs_to_latlng(mgrs_state_centers) %>% |
|
|
|
| Lang | \# Files | (%) | LoC | (%) | Blank lines | (%) | \# Lines | (%) | |
|
|
|
| :----------- | -------: | ---: | ---: | ---: | ----------: | ---: | -------: | ---: | |
|
|
|
| C | 5 | 0.26 | 1854 | 0.74 | 334 | 0.62 | 918 | 0.52 | |
|
|
|
| C++ | 2 | 0.11 | 339 | 0.13 | 63 | 0.12 | 99 | 0.06 | |
|
|
|
| C++ | 2 | 0.11 | 342 | 0.14 | 63 | 0.12 | 99 | 0.06 | |
|
|
|
| C/C++ Header | 5 | 0.26 | 181 | 0.07 | 74 | 0.14 | 546 | 0.31 | |
|
|
|
| R | 6 | 0.32 | 91 | 0.04 | 28 | 0.05 | 158 | 0.09 | |
|
|
|
| Rmd | 1 | 0.05 | 54 | 0.02 | 39 | 0.07 | 40 | 0.02 | |
|
|
|
Width:
|
Height:
|
Size: 44 KiB
Width:
|
Height:
|
Size: 44 KiB
|
|
|
@ -45,7 +45,10 @@ DataFrame mgrs_to_latlng(std::vector < std::string > MGRS, bool degrees = true, |
|
|
|
} |
|
|
|
|
|
|
|
if (err_ct > 0) { |
|
|
|
Rcpp::warning("One or more errors encounterd while converting %d MGRS input strings"); |
|
|
|
Rcpp::warning( |
|
|
|
"%d error%s encounterd while converting %d MGRS input strings.\nErrant MGRS strings will be turned into `NA` pairs.", |
|
|
|
err_ct, (err_ct > 1 ? "s" : ""), MGRS.size() |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
if (include_mgrs_ref) { |
|
|
|