Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
use roxygen2 5.00 (updates all documentation), minor doc fixes in exp…
Browse files Browse the repository at this point in the history
…lain.R, use "_PACKAGE" in package docs, set CXXFLAGS in configure.ac
  • Loading branch information
Jack Wasey committed Nov 2, 2015
1 parent eed4ff8 commit 1757ede
Show file tree
Hide file tree
Showing 85 changed files with 152 additions and 273 deletions.
4 changes: 3 additions & 1 deletion DESCRIPTION
Expand Up @@ -37,11 +37,13 @@ Suggests:
ggplot2,
digest,
xtable,
rmarkdown
rmarkdown,
roxygen2 (>= 5.0.0)
LazyData: true
LazyDataCompression: xz
BugReports: https://github.com/jackwasey/icd9/issues
License: GPL-3
Copyright: See file (inst/)COPYRIGHTS
VignetteBuilder: knitr
LinkingTo: Rcpp
RoxygenNote: 5.0.0
2 changes: 1 addition & 1 deletion NAMESPACE
@@ -1,4 +1,4 @@
# Generated by roxygen2 (4.1.1): do not edit by hand
# Generated by roxygen2: do not edit by hand

S3method(icd9Charlson,data.frame)
S3method(icd9Explain,character)
Expand Down
6 changes: 3 additions & 3 deletions R/explain.R
Expand Up @@ -152,9 +152,9 @@ icd9GuessIsShort <- function(icd9) {
#' respective chapters, sub-chapters, etc.. The querying of the web page to
#' get these is already done, and the results saved in the lists
#' \code{icd9Chapters} etc which define ranges.
#' @param icd9-any
#' @param isShort
#' @param invalid
#' @template icd9-any
#' @template isShort
#' @template verbose
#' @keywords internal
icd9GetChapters <- function(icd9, isShort = icd9GuessIsShort(icd9), verbose = FALSE) {
# set up comorbidity maps for chapters/sub/major group, then loop through each
Expand Down
12 changes: 3 additions & 9 deletions R/icd9-package.R
Expand Up @@ -15,15 +15,7 @@
# You should have received a copy of the GNU General Public License
# along with icd9. If not, see <http:#www.gnu.org/licenses/>.

#' @title tools for working with ICD-9 codes, and finding comorbidities
#' @description Calculate comorbidities, and perform fast and accurate
#' validation, conversion, manipulation, filtering and comparison of ICD-9-CM
#' (clinical modification) codes. ICD-9 codes appear numeric but leading and
#' trailing zeroes, and both decimal and non-decimal "short" format codes
#' exist. The package enables a work flow from raw lists of ICD-9 codes from
#' hospital billing databases to comorbidities. ICD-9 to comorbidity mappings
#' from Quan (Deyo and Elixhauser versions), Elixhauser and AHRQ included.
#'
#' @details
#' \describe{
#'
#' \item{Comorbidities}{ \code{\link{icd9Comorbid}} determines co-morbidities
Expand Down Expand Up @@ -79,6 +71,8 @@
#' contains definitions of chapters, sub-chapters and three-digit groups.}
#'
#' }
#'
"_PACKAGE"
#' @docType package
#' @name icd9-package
#' @aliases icd9 package-icd9
Expand Down
4 changes: 4 additions & 0 deletions configure
Expand Up @@ -2272,6 +2272,10 @@ CPP=`"${R_BIN}" CMD config CPP`
CFLAGS=`"${R_BIN}" CMD config CFLAGS`
CPPFLAGS=`"${R_BIN}" CMD config CPPFLAGS`
CXXFLAGS=`"${R_BIN}" CMD config CXXFLAGS`
# Writing R Extensions recommends the following, but I don't seem to need it, perhaps because I disable C++11 in some systems when it won't work with OpenMP:
# CXX1X=`"${R_BIN}" CMD config CXX1X`
# CXX1XSTD=`"${R_BIN}" CMD config CXX1XSTD`
CXXFLAGS=`"${R_BIN}" CMD config CXXFLAGS`
LIBS="${PKG_LIBS}"

ac_ext=c
Expand Down
4 changes: 4 additions & 0 deletions configure.ac
Expand Up @@ -36,6 +36,10 @@ CPP=`"${R_BIN}" CMD config CPP`
CFLAGS=`"${R_BIN}" CMD config CFLAGS`
CPPFLAGS=`"${R_BIN}" CMD config CPPFLAGS`
CXXFLAGS=`"${R_BIN}" CMD config CXXFLAGS`
# Writing R Extensions recommends the following, but I don't seem to need it, perhaps because I disable C++11 in some systems when it won't work with OpenMP:
# CXX1X=`"${R_BIN}" CMD config CXX1X`
# CXX1XSTD=`"${R_BIN}" CMD config CXX1XSTD`
CXXFLAGS=`"${R_BIN}" CMD config CXXFLAGS`
LIBS="${PKG_LIBS}"

AC_CHECK_HEADER([string.h])
Expand Down
2 changes: 1 addition & 1 deletion man/ahrqComorbid.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/ahrqComorbidAll.Rd

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

9 changes: 3 additions & 6 deletions man/convert.Rd

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

5 changes: 1 addition & 4 deletions man/cr.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/elixComorbid.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/elixComorbidNames.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/expandRangeWorker.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/factor_.Rd

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

5 changes: 1 addition & 4 deletions man/fastIntToString.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/generateSysData.Rd

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

24 changes: 13 additions & 11 deletions man/icd9-package.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/icd9AddLeadingZeroes.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/icd9Benchmark.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/icd9Billable.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/icd9Chapters.Rd

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

16 changes: 3 additions & 13 deletions man/icd9ChaptersToMap.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/icd9Charlson.Rd

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

19 changes: 4 additions & 15 deletions man/icd9Children.Rd

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

4 changes: 2 additions & 2 deletions man/icd9Comorbid.Rd

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

6 changes: 1 addition & 5 deletions man/icd9ComorbidDfToMat.Rd

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

6 changes: 1 addition & 5 deletions man/icd9ComorbidMatToDf.Rd

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

16 changes: 4 additions & 12 deletions man/icd9Condense.Rd

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

0 comments on commit 1757ede

Please sign in to comment.