Skip to content

Commit

Permalink
udpate package documentation, package checks 0-0-0
Browse files Browse the repository at this point in the history
  • Loading branch information
iriseekhout committed Jan 15, 2024
1 parent a0e1fc3 commit 2828e1f
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 7 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
^Meta$
^Scripts$
^\.github$
^scripts$
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ inst/doc
/doc/
/Meta/
/Scripts/
^scripts
/scripts
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Description: Risk prediction models for data collected in the Basisdatatset
License: AGPL (>= 3)
Encoding: UTF-8
Imports:
centile,
AGD,
dplyr,
nlreferences,
rlang,
Expand Down
3 changes: 2 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

export(collect_predictors)
export(map_varnames)
importFrom(centile,y2z)
importFrom(AGD,y2z)
importFrom(dplyr,all_of)
importFrom(dplyr,any_of)
importFrom(dplyr,arrange)
Expand All @@ -18,6 +18,7 @@ importFrom(dplyr,rename)
importFrom(dplyr,right_join)
importFrom(dplyr,select)
importFrom(dplyr,slice)
importFrom(dplyr,slice_tail)
importFrom(dplyr,ungroup)
importFrom(nlreferences,set_refcodes)
importFrom(rlang,.data)
Expand Down
4 changes: 2 additions & 2 deletions R/imports.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#' @importFrom dplyr all_of any_of arrange bind_cols case_match
#' filter first group_by mutate n pull rename
#' select slice ungroup right_join
#' @importFrom centile y2z
#' select slice ungroup right_join slice_tail
#' @importFrom AGD y2z
#' @importFrom nlreferences set_refcodes
#' @importFrom rlang .data
#' @importFrom tibble add_column as_tibble tibble_row
Expand Down
2 changes: 1 addition & 1 deletion R/map_varnames.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#' library(bdsreader)
#' fn <- system.file("examples/test.json", package = "bdsreader")
#' m <- bdsreader::read_bds(fn)
#' x <- collect_predictors(m)
#' x <- collect_predictors(m, purpose = "model")
#' ex <- map_varnames(x)
#' @export
map_varnames <- function(data = NULL,
Expand Down
4 changes: 3 additions & 1 deletion man/collect_predictors.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/map_varnames.Rd

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

0 comments on commit 2828e1f

Please sign in to comment.