Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Povcalnet iterate#22

Open
randrescastaneda wants to merge 4 commits intomasterfrom
povcalnet_iterate
Open

Povcalnet iterate#22
randrescastaneda wants to merge 4 commits intomasterfrom
povcalnet_iterate

Conversation

@randrescastaneda
Copy link
Copy Markdown
Collaborator

No description provided.

@randrescastaneda randrescastaneda added the enhancement New feature or request label Dec 5, 2019
Comment on lines +1 to +26
# ==================================================
# project: Iterate to find moentary threshold of percentile
# Author: Andres Castaneda
# Dependencies: The World Bank
# ----------------------------------------------------
# Creation Date: 2011-11-25
# Modification Date:
# Script version: 01
# References:
#
#
# Output: Data frame
# ==================================================

#----------------------------------------------------------
# Load libraries
#----------------------------------------------------------

library("tidyverse")
library("povcalnetR")


#----------------------------------------------------------
# subfunctions
#----------------------------------------------------------

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the roxygen2 syntax instead

Comment on lines +49 to +53
if ((length(country) & length(region)) |
(!length(country) & !length(region))) {
stop("you must select either a `region` or a `country`")
}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could use the asserthat package instead

Copy link
Copy Markdown
Member

@tonyfujs tonyfujs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @randrescastaneda Can you make the changes proposed before I merge into master

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants