Skip to content

Commit

Permalink
Fixed extra-line in object documentation template
Browse files Browse the repository at this point in the history
  • Loading branch information
BBieri committed Feb 15, 2021
1 parent ee8f2e3 commit 43578f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/data_export.R
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export_data <- function(..., database, URL) {
dsnvar <- lapply(db, ncol)
dsvar <- lapply(db, colnames)
dsvarstr <- lapply(lapply(db, colnames), str_c, collapse=", ")
describe <- paste0("#'\\describe{\n", paste0("#' \\item{",dsnames,": }", "{A dataset with ",dsobs," observations and the following ",dsnvar," variables: ", dsvarstr,".}\n", collapse = ""), "#' }")
describe <- paste0("#'\\describe{\n", paste0("#' \\item{",dsnames,": }", "{A dataset with ",dsobs," observations and the following ",dsnvar," variables: ", dsvarstr,".}", collapse = ""), "#' }")
sourceelem <- paste0("#' @source \\url{", URL,"}", collapse = "")
#Output
qtemplate("qDataDBDoc.R",
Expand Down

0 comments on commit 43578f6

Please sign in to comment.