Skip to content

Commit bdc0e2e

Browse files
authored
Merge pull request #35 from dmurdoch/withTableFns
Missing use of withTableFns.
2 parents 6652fbd + 17cf0b2 commit bdc0e2e

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: tables
22
Title: Formula-Driven Table Generation
3-
Version: 0.9.31
3+
Version: 0.9.32
44
Authors@R: person(given = "Duncan",
55
family = "Murdoch",
66
role = c("aut", "cre"),

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# tables 0.9.32
2+
3+
- The fix for issue #30 was incomplete for some reason.
4+
15
# tables 0.9.31
26

37
- In a few places `len` was used instead of `length.out` in calls to

R/tabular.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ tabular.formula <- function(table, data=NULL, n, suppressLabels=0, ...) {
643643
if (is.null(data) || is.environment(data))
644644
data <- withTableFns
645645
else if (is.list(data))
646-
data <- list2env(data, parent = environment(table))
646+
data <- list2env(data, parent = withTableFns)
647647
else if (!is.environment(data))
648648
stop("'data' must be a dataframe, list or environment")
649649

tables.Rproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Version: 1.0
2+
ProjectId: ff106abd-954f-4630-ab81-b1ea0de6fa9b
23

34
RestoreWorkspace: Default
45
SaveWorkspace: Default

0 commit comments

Comments
 (0)