Skip to content

Commit

Permalink
Stop the man pages being created for internal functions
Browse files Browse the repository at this point in the history
Also made `find_latest_file` internal i.e. not exported.
  • Loading branch information
Moohan committed Nov 6, 2024
1 parent f027deb commit 093a5b8
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 68 deletions.
1 change: 0 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Generated by roxygen2: do not edit by hand

export(find_latest_file)
export(get_hscp_locality)
export(get_simd_datazone)
export(get_simd_postcode)
Expand Down
4 changes: 2 additions & 2 deletions R/find_latest_file.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
#' (the default) or "file_name".
#'
#' @return the [fs::path()] to the file
#' @export
#'
#' @examples
#' \dontrun{
#' find_latest_file(
#' directory = "/conf/linkage/output/lookups/Unicode",
#' regexp = "Scottish_Postcode_Directory_.+?\\.rds"
#' )
#' }
#' @noRd
#' @keywords internal
find_latest_file <- function(directory,
regexp,
selection_method = "modification_date") {
Expand Down
2 changes: 2 additions & 0 deletions R/read_file.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#' @param ... Addition arguments passed to the relevant function.
#'
#' @return the data a [tibble][tibble::tibble-package]
#' @noRd
#' @keywords internal
read_file <- function(path, col_select = NULL, ...) {
valid_extensions <- c(
"rds",
Expand Down
35 changes: 0 additions & 35 deletions man/find_latest_file.Rd

This file was deleted.

30 changes: 0 additions & 30 deletions man/read_file.Rd

This file was deleted.

0 comments on commit 093a5b8

Please sign in to comment.