Skip to content

Commit ed71f91

Browse files
committed
keep up with Hauke (function moved to kwb.file)
1 parent 841ae38 commit ed71f91

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Imports:
2525
forcats,
2626
fs,
2727
ggplot2,
28-
kwb.fakin,
28+
kwb.file,
2929
kwb.read,
3030
kwb.utils,
3131
magrittr,
@@ -41,7 +41,7 @@ Suggests:
4141
knitr,
4242
rmarkdown
4343
Remotes:
44-
github::kwb-r/kwb.fakin,
44+
github::kwb-r/kwb.file,
4545
github::kwb-r/kwb.read,
4646
github::kwb-r/kwb.utils
4747
Encoding: UTF-8

NAMESPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ importFrom(dplyr,select_if)
5858
importFrom(dplyr,starts_with)
5959
importFrom(forcats,fct_reorder)
6060
importFrom(fs,file_info)
61-
importFrom(kwb.fakin,toSubdirMatrix)
61+
importFrom(kwb.file,to_subdir_matrix)
6262
importFrom(kwb.read,read_xml_as_path_value)
6363
importFrom(kwb.utils,catAndRun)
6464
importFrom(kwb.utils,catIf)

R/.setup.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ kwb.pkgbuild::add_gitlabci_to_ghpages("kwb.endnote", dest_dir = tempdir())
2121

2222
usethis::use_vignette("analyse-endnote")
2323

24-
pkg_dependencies <- c('dplyr', 'kwb.fakin', 'kwb.read', 'stringr')
24+
pkg_dependencies <- c('dplyr', 'kwb.file', 'kwb.read', 'stringr')
2525

2626
sapply(pkg_dependencies, usethis::use_package)
2727
desc::desc_normalize()

R/create_df_from_endnote_xml.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#' from get_reference_type_names()
77
#' @export
88
#' @importFrom kwb.read read_xml_as_path_value
9-
#' @importFrom kwb.fakin toSubdirMatrix
9+
#' @importFrom kwb.file to_subdir_matrix
1010
#' @importFrom stringr str_remove_all
1111
#' @importFrom dplyr left_join
1212
#' @importFrom fs file_info
@@ -21,7 +21,7 @@ create_df_from_endnote_xml <- function(endnote_xml = default_xml()) {
2121
stringr::str_remove_all(pattern = "^/xml/records/record")
2222

2323
references_df <- kwb.utils::asNoFactorDataFrame(cbind(
24-
kwb.fakin::toSubdirMatrix(xml_paths),
24+
kwb.file::to_subdir_matrix(xml_paths),
2525
references[, -1]
2626
))
2727

0 commit comments

Comments
 (0)