Skip to content

Commit

Permalink
Bugfix Rd file
Browse files Browse the repository at this point in the history
  • Loading branch information
skranz committed Jan 10, 2020
1 parent a89a968 commit 60aa99d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Expand Up @@ -10,5 +10,5 @@ Description:
License: GPL >= 2.0
Encoding: UTF-8
LazyData: true
imports: glue
Imports: glue
RoxygenNote: 6.0.1
1 change: 1 addition & 0 deletions NAMESPACE
@@ -1,3 +1,4 @@
export("gf")
export("varnames_snippet")
importFrom(glue,glue)

4 changes: 2 additions & 2 deletions R/gf.R
Expand Up @@ -52,7 +52,7 @@ gf = function(form, values=list(), enclos=parent.frame(), as.formula=TRUE, form.
paste0(val, collapse=collapse)
})
names(vals) = vars
res = glue::glue(form, .envir = vals)
res = glue(form, .envir = vals)
if (!as.formula) {
return(res)
}
Expand All @@ -67,7 +67,7 @@ gf = function(form, values=list(), enclos=parent.frame(), as.formula=TRUE, form.
#' vector of all column names of a data frame
#'
#' The if the data frame has 3 columns named
#' \code(x), \code{y} and \code{name with space}
#' "x", "y" and "name with space"
#' the function cats and on windows also copies to
#' your clipboard the
#' following code:
Expand Down
2 changes: 1 addition & 1 deletion man/varnames_snippet.Rd

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

0 comments on commit 60aa99d

Please sign in to comment.