Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MICS_Biomathematics
prettyplots
tableExtra
Commits
1f33944f
Commit
1f33944f
authored
Jun 07, 2021
by
Pradat Yoann
Browse files
use modifyList in themes to leave unmodified other graphical parameters
parent
9eb7a89a
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/testthat/test-gtables.R
View file @
1f33944f
...
...
@@ -146,7 +146,7 @@ test_that("gtable circle annotated", {
}
ind
<-
find_cell
(
g
,
2
,
2
,
"circle-bg"
)
g
$
g
robs
[
ind
][[
1
]][[
"gp"
]]
<-
gpar
(
col
=
"red"
,
lwd
=
3
)
g
$
q
robs
[
ind
][[
1
]][[
"gp"
]]
<-
modifyList
(
g
$
grobs
[
ind
][[
1
]][[
"gp"
]],
list
(
col
=
"red"
,
lwd
=
3
)
)
out
<-
plot_grob
(
g
,
name
=
"gtable_circle_annotated.pdf"
)
expect_true
(
out
$
plot_success
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment