Skip to content

Commit

Permalink
Add packages and load info
Browse files Browse the repository at this point in the history
  • Loading branch information
avahoffman committed Jun 27, 2024
1 parent 96c2b9a commit 6898388
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 0 deletions.
6 changes: 6 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
# Generated by roxygen2: do not edit by hand

import(dplyr)
import(naniar)
import(readr)
import(stringr)
import(tidyr)
importFrom(tibble,tibble)
21 changes: 21 additions & 0 deletions R/dasehr-package.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#' `dasehr`: Load data and packages needed for DaSEH (Data Science for
#' Environmental Health)
#'
#' @details
#'
#' Here is a list of the datasets. They are already stored as objects when you
#' load the package.
#' * `calenviroscreen`: Description here

#' @keywords internal
"_PACKAGE"

## usethis namespace: start
#' @importFrom tibble tibble
#' @import readr
#' @import dplyr
#' @import tidyr
#' @import naniar
#' @import stringr
## usethis namespace: end
NULL
4 changes: 4 additions & 0 deletions R/zzz.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.onLoad <- function(libname, pkgname){
message(paste("Loading", pkgname, "🌼"))
message(paste("Run ?dasehr for more information on this package its datasets."))
}
25 changes: 25 additions & 0 deletions man/dasehr-package.Rd

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

8 changes: 8 additions & 0 deletions tests/testthat/test-calenviroscreen.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
test_that("Is non-empty tibble", {
expect_false(
dim(calenviroscreen)[1] == 0
)
expect_false(
dim(calenviroscreen)[2] == 0
)
})

0 comments on commit 6898388

Please sign in to comment.