Skip to content
Snippets Groups Projects
Commit 488fbb0e authored by phit0's avatar phit0
Browse files

[bugfix] initialization of an empty tibble

parent 32cc9daf
No related branches found
No related tags found
2 merge requests!27Draft: Resolve "ext_calbayesopt_toR6",!24Resolve "bugfixes"
...@@ -8,10 +8,10 @@ ...@@ -8,10 +8,10 @@
#' @noRd #' @noRd
read_in_points <- function(xml_doc) { read_in_points <- function(xml_doc) {
points_tibble <- tibble::tibble(x = c(), points_tibble <- tibble::tibble(x = numeric(),
y = c(), y = numeric(),
z = c(), z = numeric(),
name = c()) name = character())
points_nodeset <- xml2::xml_find_all(xml_doc, "//points/*") points_nodeset <- xml2::xml_find_all(xml_doc, "//points/*")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment