-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closes #151 - Metadata includes verbose
option
#199
Changes from 11 commits
3dcf6fb
26bbc8e
f4a4b4d
f534680
a0d83b7
d7da839
ce6fc72
3f79aaa
4cc529f
71390ef
ef70444
3f5d9e0
1e0939b
264d23b
e1db193
50aa324
1fed719
9d91212
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -40,7 +40,10 @@ | |||||||||
#' xportr_type() %>% | ||||||||||
#' xportr_order() | ||||||||||
#' } | ||||||||||
xportr_metadata <- function(.df, metadata = NULL, domain = NULL) { | ||||||||||
xportr_metadata <- function(.df, | ||||||||||
metadata = NULL, | ||||||||||
domain = NULL, | ||||||||||
verbose = NULL) { | ||||||||||
if (is.null(metadata) && is.null(domain)) { | ||||||||||
stop("Must provide either metadata or domain argument") | ||||||||||
} | ||||||||||
|
@@ -51,5 +54,8 @@ xportr_metadata <- function(.df, metadata = NULL, domain = NULL) { | |||||||||
|
||||||||||
## End of common section | ||||||||||
|
||||||||||
structure(.df, `_xportr.df_metadata_` = metadata) | ||||||||||
structure(.df, | ||||||||||
`_xportr.df_metadata_` = metadata, | ||||||||||
`_xportr.df_verbose_` = verbose | ||||||||||
Comment on lines
+64
to
+65
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We could use quotes
Suggested change
|
||||||||||
) | ||||||||||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
bms63 marked this conversation as resolved.
Show resolved
Hide resolved
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very very optional. I would think that {styler} or {lintr} didn't like this indentation