Skip to content

Commit

Permalink
Merge pull request #292 from UCD-SERG/249-test-devtag-for-internal-do…
Browse files Browse the repository at this point in the history
…cumentation

add `devtag` for documenting internal functions and use for `df_to_array()`
  • Loading branch information
d-morrison authored Oct 1, 2024
2 parents d5ba38d + 24b0c8a commit fb1ec50
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 5 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ allpopsamples_hlye.csv$
^README\.qmd$
^codecov\.yml$
^\.lintr$
^man/df_to_array\.Rd$
10 changes: 7 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,12 @@ Imports:
utils
Suggests:
bookdown,
devtag (>= 0.0.0.9000),
DT,
fs,
ggbeeswarm,
knitr,
pak,
parallel,
readr,
rmarkdown,
Expand All @@ -55,11 +57,13 @@ Suggests:
LinkingTo:
Rcpp
Config/testthat/edition: 3
Config/Needs/build: moodymudskipper/devtag
Encoding: UTF-8
Language: en-US
LazyData: true
NeedsCompilation: no
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.3.2
Remotes:
bcgov/ssdtools
bcgov/ssdtools,
moodymudskipper/devtag
Roxygen: list(markdown = TRUE, roclets = c("collate", "rd", "namespace", "devtag::dev_roclet"))
RoxygenNote: 7.3.2
4 changes: 3 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@

* fixed `dplyr::select()` deprecation warning in `df_to_array()` (#276)

* Added `devtag` to package (using `devtag::use_devtag()`) (#292)
* Added `@dev` tag to `?df_to_array()` (#292)

* Generalized `get_()` and `set_()` methods to be general-purpose
(no S3 class-specific methods needed yet) (#274).

* Updated GitHub Action files and reformatted `DESCRIPTION` (#268)

* Added `.gitattributes` file (<https://git-scm.com/docs/gitattributes>)
copied from <https://github.com/tidyverse/ggplot2>

Expand Down
2 changes: 1 addition & 1 deletion R/df_to_array.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ df.to.array <- function( # nolint: object_name_linter
#' serocalculator:::df_to_array(
#' dim_var_names = c("parameter", "Species"))
#' ftable(arr[,,1:5])
#' @noRd
#' @dev
df_to_array <- function(
df,
dim_var_names,
Expand Down
41 changes: 41 additions & 0 deletions man/df_to_array.Rd

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

0 comments on commit fb1ec50

Please sign in to comment.