Skip to content

Commit 23cc496

Browse files
authored
Merge pull request #11 from KWB-R/dev
Prepare release 0.1.0
2 parents 8298b00 + fdf0484 commit 23cc496

16 files changed

Lines changed: 38 additions & 23 deletions

.Rbuildignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
^\.RData$
88
^\.Rproj\.user$
99
^\.here$
10-
^.travis\.yml$
10+
^\.travis\.yml$
1111
^.gitlab-ci\.yml$
1212
^appveyor\.yml$
13-
^index\.Rmd$
13+
^index\.md$
1414
^README\.md$
1515
^R/\.setup\.R

.travis.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
##############################################################################
2+
### Autogenerated with R package kwb.pkgbuild v0.1.1
3+
### (installed from 'Github (kwb-r/kwb.pkgbuild@0ac3694)' source code on 2019-09-06)
4+
### by calling the function kwb.pkgbuild::use_travis()
5+
### (file created at: 2019-09-09 10:34:55)
6+
##############################################################################
7+
8+
19
language: r
210
sudo: required
311
cache: packages
@@ -16,4 +24,8 @@ matrix:
1624
provider: script
1725
script: Rscript -e 'pkgdown::deploy_site_github(verbose = TRUE)'
1826
skip_cleanup: 'true'
27+
on:
28+
branch:
29+
- master
30+
- dev
1931
- r: oldrel

DESCRIPTION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: kwb.endnote
22
Title: Helper Functions for Analysing KWB Endnote Library
33
(Exported as .xml)
4-
Version: 0.0.0.9000
4+
Version: 0.1.0
55
Authors@R:
66
c(person(given = "Michael",
77
family = "Rustler",
@@ -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

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MIT License
22

3-
Copyright (c) 2019 Kompetenzzentrum Wasser Berlin gGmbH (KWB)
3+
Copyright (c) 2019 - 2020 Kompetenzzentrum Wasser Berlin gGmbH (KWB)
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MIT License
22

3-
Copyright (c) 2019 Kompetenzzentrum Wasser Berlin gGmbH (KWB)
3+
Copyright (c) 2019 - 2020 Kompetenzzentrum Wasser Berlin gGmbH (KWB)
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

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/check_for_differences.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
#' ### Check differences between two different versions of "KWB_documents.xml"
1818
#' ############################################################################
1919
#'
20-
#' old_xml <- extdata_file("2019-01-07_KWB_documents.xml")
21-
#' new_xml <- extdata_file("2019-01-14_KWB_documents.xml")
20+
#' old_xml <- extdata_file("2019-01-14_KWB_documents.xml")
21+
#' new_xml <- extdata_file("2019-07-09_KWB_documents.xml")
2222
#' old_list <- kwb.endnote::create_endnote_list(old_xml)
2323
#' new_list <- kwb.endnote::create_endnote_list(new_xml)
2424
#' old_df <- kwb.endnote::create_references_df(old_list)

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

R/helper.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ colname_i <- function(name, i) {
2020
#' @export
2121
#'
2222
default_xml <- function() {
23-
extdata_file("2019-01-07_KWB_documents.xml")
23+
extdata_file("2019-07-09_KWB_documents.xml")
2424
}
2525

2626
# first_of_element -------------------------------------------------------------

0 commit comments

Comments
 (0)