Skip to content

Commit

Permalink
Fixes for latest R
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanJField committed Oct 7, 2024
1 parent bab526f commit 5108fd9
Show file tree
Hide file tree
Showing 69 changed files with 167 additions and 78 deletions.
2 changes: 2 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ README.md
^config.yaml$
^cran-comments.md$
^software-checklist.md$
^check$
^venv$
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,5 @@ docs
/test
/tests/testthat/test
sonia.yaml
/venv
/check
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Package: rDataPipeline
Title: Functions to Interact with the 'FAIR Data Pipeline'
Version: 0.54.3
Version: 0.6.0
Authors@R: c(person("Sonia", "Mitchell", email = "sonia.mitchell@glasgow.ac.uk",
role = c("cre", "aut"), comment = c(ORCID = "0000-0003-1536-2066")),
person("Ryan", "Field", role = "ctb",
person("Ryan", "Field", email = "ryan.field@glasgow.ac.uk", role = "aut",
comment = c(ORCID = "0000-0002-4424-9890")))
Description: R implementation of the 'FAIR Data Pipeline API'. The 'FAIR Data
Pipeline' is intended to enable tracking of provenance of FAIR (findable,
Expand Down Expand Up @@ -33,6 +33,6 @@ biocViews:
Encoding: UTF-8
LazyData: true
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.1.2
RoxygenNote: 7.3.2
URL: https://www.fairdatapipeline.org/rDataPipeline/, https://github.com/FAIRDataPipeline/rDataPipeline
BugReports: https://github.com/FAIRDataPipeline/rDataPipeline/issues
4 changes: 3 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# NEWS

# rDataPipeline v0.6.0
## Improvements:
Updates to work with latest versions of R
- v0.54.1
- Initial release
- v0.54.2
Expand Down
2 changes: 1 addition & 1 deletion R/check_fields.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ check_fields <- function(table, query, method, endpoint) {
expected_types <- get_fields(table = table, endpoint = endpoint) %>%
dplyr::filter(.data$field %in% fields) %>%
dplyr::arrange(factor(.data$field, levels = fields)) %>%
dplyr::select(.data$data_type) %>%
dplyr::select("data_type") %>%
unlist() %>%
unname()

Expand Down
4 changes: 2 additions & 2 deletions R/class-fdp.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#' @name fdp-class
#' @rdname fdp-class
#'
fdp <- R6::R6Class("fdp", list(
fdp <- R6::R6Class("fdp", public = list(
#' @field yaml a \code{list} containing the contents of the working
#' config.yaml
#' @field fdp_config_dir a \code{string} specifying the directory passed
Expand Down Expand Up @@ -80,7 +80,7 @@ fdp <- R6::R6Class("fdp", list(
},

#' @description Print method
#'
#' @param ... additional parameters, currently none are used
#' @export
#'
print = function(...) {
Expand Down
2 changes: 1 addition & 1 deletion R/get_components.R
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ get_components <- function(filename) {
tmp <- rhdf5::H5Fopen(filename) %>%
h5ls() %>%
dplyr::filter(.data$name == "array" | .data$name == "table") %>%
dplyr::select(.data$group) %>%
dplyr::select("group") %>%
unlist() %>%
unname()

Expand Down
2 changes: 1 addition & 1 deletion R/rDataPipeline-package.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
#' @importFrom utils download.file read.csv unzip write.csv type.convert
#' @import yaml
#'
NULL
"_PACKAGE"
1 change: 1 addition & 0 deletions man/check_config.Rd

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

1 change: 1 addition & 0 deletions man/check_dataproduct_exists.Rd

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

1 change: 1 addition & 0 deletions man/check_datetime.Rd

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

1 change: 1 addition & 0 deletions man/check_exists.Rd

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

1 change: 1 addition & 0 deletions man/check_field.Rd

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

1 change: 1 addition & 0 deletions man/check_fields.Rd

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

1 change: 1 addition & 0 deletions man/check_handle.Rd

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

1 change: 1 addition & 0 deletions man/check_integer.Rd

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

1 change: 1 addition & 0 deletions man/check_local_repo.Rd

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

1 change: 1 addition & 0 deletions man/check_string.Rd

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

1 change: 1 addition & 0 deletions man/check_table_exists.Rd

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

1 change: 1 addition & 0 deletions man/check_yaml_write.Rd

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

1 change: 1 addition & 0 deletions man/clean_query.Rd

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

1 change: 1 addition & 0 deletions man/create_index.Rd

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

1 change: 1 addition & 0 deletions man/create_version_number.Rd

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

1 change: 1 addition & 0 deletions man/download_from_database.Rd

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

1 change: 1 addition & 0 deletions man/download_from_url.Rd

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

1 change: 1 addition & 0 deletions man/extract_id.Rd

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

61 changes: 34 additions & 27 deletions man/fdp-class.Rd

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

1 change: 1 addition & 0 deletions man/fdp_resolve_read.Rd

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

1 change: 1 addition & 0 deletions man/fdp_resolve_write.Rd

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

1 change: 1 addition & 0 deletions man/get_author_url.Rd

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

1 change: 1 addition & 0 deletions man/get_entity.Rd

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

1 change: 1 addition & 0 deletions man/get_existing.Rd

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

1 change: 1 addition & 0 deletions man/get_fields.Rd

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

1 change: 1 addition & 0 deletions man/get_file_hash.Rd

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

1 change: 1 addition & 0 deletions man/get_github_hash.Rd

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

1 change: 1 addition & 0 deletions man/get_id.Rd

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

1 change: 1 addition & 0 deletions man/get_index.Rd

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

1 change: 1 addition & 0 deletions man/get_max_version.Rd

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

1 change: 1 addition & 0 deletions man/get_storage_location.Rd

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

1 change: 1 addition & 0 deletions man/get_token.Rd

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

1 change: 1 addition & 0 deletions man/get_url.Rd

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

1 change: 1 addition & 0 deletions man/increment_filename.Rd

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

1 change: 1 addition & 0 deletions man/is_queryable.Rd

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

3 changes: 2 additions & 1 deletion man/new_author.Rd

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

Loading

0 comments on commit 5108fd9

Please sign in to comment.