diff --git a/.Rbuildignore b/.Rbuildignore index 3e58a27a..b92b5d64 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -1,8 +1,19 @@ -^TidyDensity\.Rproj$ +^.*\.Rproj$ ^\.Rproj\.user$ ^LICENSE\.md$ ^README\.Rmd$ +^README-.*\.png$ ^_pkgdown\.yml$ ^docs$ +^doc$ ^pkgdown$ ^cran-comments\.md$ +^CRAN-RELEASE$ +^.github$ +^CODE_OF_CONDUCT\.md$ +^revdep$ +img +^logo\.png$ +^index\.Rmd$ +^Meta$ +^CRAN-SUBMISSION$ diff --git a/DESCRIPTION b/DESCRIPTION index 3c5023b0..669c0ce5 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,12 +1,12 @@ Package: TidyDensity -Title: Functions for tidy analysis of randomly generated data. +Title: Functions for Tidy Analysis of Randomly Generated Data Version: 0.0.0.9000 Authors@R: c( person("Steven","Sanderson", email = "spsanderson@gmail.com", role = c("aut","cre")), person("Steven Sanderson", role = "cph")) Description: - This package will make it easy to generate random numbers based upon - the underlying stats functions. All data is returned in a tidy and structured + To make it easy to generate random numbers based upon the underlying stats + distribution functions. All data is returned in a tidy and structured format making working with the data simple and straight forward. Given that the data is returned in a tidy tibble it lends itself to working with the rest of the tidyverse. @@ -29,5 +29,8 @@ Imports: Suggests: rmarkdown, knitr, - roxygen2 + roxygen2, + cli, + crayon, + rstudioapi VignetteBuilder: knitr diff --git a/R/00_global_variables.R b/R/00_global_variables.R new file mode 100644 index 00000000..5d3f30a6 --- /dev/null +++ b/R/00_global_variables.R @@ -0,0 +1,5 @@ +globalVariables( + names = c( + "d","density","dx","dy","p","sd","sim_number","x","y" + ) +) diff --git a/R/empirical-tidy.R b/R/empirical-tidy.R index 604c3ec3..501d05ee 100644 --- a/R/empirical-tidy.R +++ b/R/empirical-tidy.R @@ -14,6 +14,7 @@ #' tidy_empirical(.x = 1:10) #' #' @return +#' A tibble #' #' @export #' diff --git a/man/tidy_empirical.Rd b/man/tidy_empirical.Rd index 961f9831..8f4e354c 100644 --- a/man/tidy_empirical.Rd +++ b/man/tidy_empirical.Rd @@ -10,7 +10,7 @@ tidy_empirical(.x) \item{.x}{A vector of numbers} } \value{ - +A tibble } \description{ This function takes in a single arguemtn of .x a vector and will