diff --git a/DESCRIPTION b/DESCRIPTION index 2fdc5ec..903ddb2 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: inti Type: Package -Version: 0.6.0 +Version: 0.6.1 Title: Tools and Statistical Procedures in Plant Science Description: The 'inti' package is part of the 'inkaverse' project for developing different procedures and tools used in plant science and experimental designs. @@ -8,7 +8,7 @@ Description: The 'inti' package is part of the 'inkaverse' project for developin experiments and data collection (tarpuy()), data analysis and graphics (yupana()) , and technical writing. Learn more about the 'inkaverse' project at . -Date: 2023-01-23 +Date: 2023-05-30 Authors@R: c( person("Flavio", "Lozano-Isla", email = "flavjack@gmail.com", role = c("aut", "cre") , comment = c(ORCID = "0000-0002-0714-669X")), diff --git a/NEWS.md b/NEWS.md index 78d2288..5ea5311 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,8 @@ +# inti 0.6.2 + +- To improve: + - Include lattice + # inti 0.6.1 - Tarpuy: @@ -16,10 +21,6 @@ - gdocs2qmd() - Word document with different output structure -#> to improve: - -- Include lattice - # inti 0.6.0 - Fix for dev dplyr (Thanks @hadley) diff --git a/R/gdoc2qmd.R b/R/gdoc2qmd.R index ff78986..0db1371 100644 --- a/R/gdoc2qmd.R +++ b/R/gdoc2qmd.R @@ -42,7 +42,7 @@ gdoc2qmd <- function(file dplyr::filter(!.data$value %in% "# ") %>% dplyr::mutate(across("value" , ~ gsub("```Unknown element type at this position: UNSUPPORTED```", "", .))) %>% - head(which(startsWith(.$value, c('#| END', "#| end"))) - 1) + utils::head(which(startsWith(.$value, c('#| END', "#| end"))) - 1) txtonly <- txt %>% dplyr::filter(!grepl("\\|", .data$value)) %>% @@ -50,9 +50,9 @@ gdoc2qmd <- function(file dplyr::filter(!grepl("#fig", .data$value)) tt <- txtonly %>% - filter(if_all(everything(), ~ . != "")) %>% - head(1) %>% - deframe() %>% + dplyr::filter(if_all(everything(), ~ . != "")) %>% + utils::head(1) %>% + tibble::deframe() %>% as.vector() fig <- txt %>% diff --git a/docs/404.html b/docs/404.html index bac92b7..2958c96 100644 --- a/docs/404.html +++ b/docs/404.html @@ -37,7 +37,7 @@ inti - 0.6.0 + 0.6.1 + + + + + +
+
+
+ +
+

Insert PDF files in markdown documents

+
+ +
+

Usage

+
include_pdf(file, width = "100%", height = "600")
+
+ +
+

Arguments

+
file
+

file path from pdf file.

+ + +
width
+

width preview file.

+ + +
height
+

height preview file.

+ +
+
+

Value

+ + +

html code for markdown

+
+ +
+ + +
+ + + + + + + diff --git a/docs/reference/include_table.html b/docs/reference/include_table.html index b9b75db..13d264b 100644 --- a/docs/reference/include_table.html +++ b/docs/reference/include_table.html @@ -16,7 +16,7 @@ inti - 0.6.0 + 0.6.1