Skip to content

Commit

Permalink
Merge pull request #32 from nutriverse/v0.1.1
Browse files Browse the repository at this point in the history
resolve check errors
  • Loading branch information
ernestguevarra committed Nov 26, 2020
2 parents 465d28b + c76937b commit 409bfac
Show file tree
Hide file tree
Showing 46 changed files with 67 additions and 50 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@
^vignettes/as\.Rmd$
^\.github$
^pkgdown$
^cran-comments\.md$
14 changes: 7 additions & 7 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: nipnTK
Type: Package
Title: NiPN Anthropometric Data Toolkit
Title: National Information Platforms for Nutrition Anthropometric Data Toolkit
Version: 0.1.0
Authors@R: c(
person(given = "Mark",
Expand All @@ -13,11 +13,12 @@ Authors@R: c(
comment = c(ORCID = "0000-0002-4887-4415"),
email = "ernest@guevarra.io",
role = c("aut", "cre")))
Description: An implementation of the National Information Platforms for Nutrition
(NiPN) analytical methods for assessing quality of anthropometric datasets that
include measurements of weight, height or length, MUAC, sex and age. The
focus is on anthropometric status but many of the presented methods could be
applied to other variables.
Description: An implementation of the National Information Platforms for
Nutrition or NiPN's analytic methods for assessing quality of anthropometric
datasets that include measurements of weight, height or length, middle upper
arm circumference, sex and age. The focus is on anthropometric status but
many of the presented methods could be applied to other variables.
License: GPL-3
Depends: R (>= 2.10)
Imports:
stats,
Expand All @@ -29,7 +30,6 @@ Suggests:
rmarkdown,
tufte,
spelling
License: GPL-3
Encoding: UTF-8
Language: en-GB
LazyData: true
Expand Down
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# nipnTK 0.1.0

* Added a `NEWS.md` file to track changes to the package.
This is the first [CRAN](https://cran.r-project.org) release of `nipnTK`.



4 changes: 2 additions & 2 deletions R/data.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#' | *muac* | Mid-upper arm circumference (cm) |
#' | *oedema* | Oedema |
#'
#' @source Data courtesy of [HelpAge International](http://www.helpage.org)
#' @source Data courtesy of [HelpAge International](https://www.helpage.org)
#'
#
################################################################################
Expand Down Expand Up @@ -54,7 +54,7 @@
#'
#' Example dataset for age and sex distributions function
#'
#' Census data of Tanzania taken from the Wolfram|Alpha knoweldge engine.
#' Census data of Tanzania taken from the Wolfram|Alpha knowledge engine.
#'
#' @format A data frame with 20 observations and 4 variables
#'
Expand Down
2 changes: 1 addition & 1 deletion R/digitPreference.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#' \cite{Kari Kuulasmaa K, Hense HW, Tolonen H (for the WHO MONICA Project),
#' Quality Assessment of Data on Blood Pressure in the WHO MONICA Project,
#' WHO MONICA Project e-publications No. 9, WHO, Geneva, May 1998 available
#' from \url{http://www.thl.fi/publications/monica/bp/bpqa.htm}}
#' from \url{https://www.thl.fi/publications/monica/bp/bpqa.htm}}
#'
#' @param x Numeric vector
#' @param digits Number of decimal places in `x`. using `digits = 1`
Expand Down
2 changes: 1 addition & 1 deletion R/outliersMD.R
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#' 0.001)
#' @return A logical vector (TRUE for an outlier at `p < alpha`)
#' @examples
#' # Use \code{outliersMD()} to detect outliers in an anthropometric data from
#' # Use outliersMD() to detect outliers in an anthropometric data from
#' # a SMART survey from the Democratic Republic of Congo (sp.ex01)
#' svy <- sp.ex01
#' svy[outliersMD(svy$height,svy$weight), ]
Expand Down
5 changes: 2 additions & 3 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ library(nipnTK)
[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/nutriverse/nipnTK?branch=master&svg=true)](https://ci.appveyor.com/project/nutriverse/nipnTK)
[![R build status](https://github.com/nutriverse/nipnTK/workflows/test-coverage/badge.svg)](https://github.com/nutriverse/nipnTK/actions)
[![codecov](https://codecov.io/gh/nutriverse/nipnTK/branch/master/graph/badge.svg)](https://codecov.io/gh/nutriverse/nipnTK)
[![CodeFactor](https://www.codefactor.io/repository/github/nutriverse/nipntk/badge)](https://www.codefactor.io/repository/github/nutriverse/nipntk)
<!-- Badges end here -->

[National Information Platforms for Nutrition (NiPN)](http://www.nipn-nutrition-platforms.org) is an initiative of the European Commission to provide support to countries to strengthen their information systems for nutrition and to improve the analysis of data so as to better inform the strategic decisions they are faced with to prevent malnutrition and its consequences.
Expand Down Expand Up @@ -87,6 +86,6 @@ knitr::include_graphics("man/figures/nipnWorkflow.png")

## Community guidelines

Feedback, bug reports and feature requests are welcome; file issues or seek support [here](https://github.com/nutriverse/nipnTK/issues). If you would like to contribute to the package, please see our [contributing guidelines](https://nutriverse.io/nipnTK/docs/CONTRIBUTING.html).
Feedback, bug reports and feature requests are welcome; file issues or seek support [here](https://github.com/nutriverse/nipnTK/issues). If you would like to contribute to the package, please see our [contributing guidelines](https://nutriverse.io/nipnTK/CONTRIBUTING.html).

This project is released with a [Contributor Code of Conduct](https://nutriverse.io/nipnTK/docs/CODE_OF_CONDUCT.html). By participating in this project you agree to abide by its terms.
This project is released with a [Contributor Code of Conduct](https://nutriverse.io/nipnTK/CODE_OF_CONDUCT.html). By participating in this project you agree to abide by its terms.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ Status](https://ci.appveyor.com/api/projects/status/github/nutriverse/nipnTK?bra
[![R build
status](https://github.com/nutriverse/nipnTK/workflows/test-coverage/badge.svg)](https://github.com/nutriverse/nipnTK/actions)
[![codecov](https://codecov.io/gh/nutriverse/nipnTK/branch/master/graph/badge.svg)](https://codecov.io/gh/nutriverse/nipnTK)
[![CodeFactor](https://www.codefactor.io/repository/github/nutriverse/nipntk/badge)](https://www.codefactor.io/repository/github/nutriverse/nipntk)
<!-- Badges end here -->

[National Information Platforms for Nutrition
Expand Down Expand Up @@ -114,8 +113,8 @@ are shown below:
Feedback, bug reports and feature requests are welcome; file issues or
seek support [here](https://github.com/nutriverse/nipnTK/issues). If you
would like to contribute to the package, please see our [contributing
guidelines](https://nutriverse.io/nipnTK/docs/CONTRIBUTING.html).
guidelines](https://nutriverse.io/nipnTK/CONTRIBUTING.html).

This project is released with a [Contributor Code of
Conduct](https://nutriverse.io/nipnTK/docs/CODE_OF_CONDUCT.html). By
Conduct](https://nutriverse.io/nipnTK/CODE_OF_CONDUCT.html). By
participating in this project you agree to abide by its terms.
21 changes: 21 additions & 0 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
## Test environments
* local R installation, R 4.0.3
* ubuntu 20.04 (on GitHub Actions), R 4.0.3
* ubuntu 20.04 (on GitHub Actions), R devel
* windows latest (on GitHub Actions), R 4.0.3
* macOS latest (on GitHub Actions), R 4.0.3
* win-builder (devel, release, old-release)
* rhub (windows-devel, fedora-devel, ubuntu-release)

## R CMD check results

0 errors | 0 warnings | 1 note

* This is a new release.

* Possibly mis-spelled words in DESCRIPTION:
Anthropometric (3:13)
NiPN (3:8)
anthropometric (17:59, 19:49)

- These are not mis-spelled.
Binary file modified docs/apple-touch-icon-120x120.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/apple-touch-icon-152x152.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/apple-touch-icon-180x180.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/apple-touch-icon-60x60.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/apple-touch-icon-76x76.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/articles/flagging.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/rl.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified docs/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/favicon.ico
Binary file not shown.
19 changes: 9 additions & 10 deletions docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified docs/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 1 addition & 3 deletions docs/news/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ articles:
rl: rl.html
sp: sp.html
sr: sr.html
last_built: 2020-11-26T02:29Z
last_built: 2020-11-26T09:12Z
urls:
reference: https://nutriverse.io/nipnTK/reference
article: https://nutriverse.io/nipnTK/articles
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/ah.ex01.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/reference/as.ex02.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/digitPreference.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified docs/reference/figures/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/reference/outliersMD.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ AnthroPlus
AppVeyor
BAZ
BMI
CodeFactor
DHS
DPS
Dadaab
Expand All @@ -21,8 +20,8 @@ LCL
MADs
MUAC
NCHS
NIPN
NiPN
NiPN's
ORCID
PSU
PSUs
Expand All @@ -34,7 +33,6 @@ Tolonen
WAZ
WHZ
Wilk
XQuarts
XQuartz
adults’
ageChildren
Expand All @@ -61,7 +59,6 @@ haz
ht
htm
kgs
knoweldge
kwashiorkor
lifecycle
mads
Expand All @@ -74,7 +71,6 @@ observedR
org
pM
pct
previou
psu
sd
se
Expand All @@ -91,3 +87,7 @@ xquartz
years’
zt
β
Anthropometric
anthropometric
anthropometry

2 changes: 1 addition & 1 deletion man/ah.ex01.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/as.ex02.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/digitPreference.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified man/figures/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion man/outliersMD.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified pkgdown/favicon/apple-touch-icon-120x120.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pkgdown/favicon/apple-touch-icon-152x152.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pkgdown/favicon/apple-touch-icon-180x180.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pkgdown/favicon/apple-touch-icon-60x60.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pkgdown/favicon/apple-touch-icon-76x76.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pkgdown/favicon/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pkgdown/favicon/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pkgdown/favicon/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pkgdown/favicon/favicon.ico
Binary file not shown.
Loading

0 comments on commit 409bfac

Please sign in to comment.