Skip to content

Commit e994496

Browse files
committed
chore: qualify namespace explicitly
1 parent 62785cc commit e994496

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

tests/testthat/test-independent-testing-rtf_nrow.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ cellsize <- matrix(width, nrow = nrow(tbl), ncol = ncol(tbl), byrow = TRUE) - pa
7676
nline_vector <- rtf_nline_vector(
7777
text = c("title 1", "this is a sentence for title 2", NA),
7878
strwidth = c(
79-
with_graphics_device(graphics::strwidth("title 1", units = "inches")),
80-
with_graphics_device(graphics::strwidth("this is a sentence for title 2", units = "inches"))
79+
r2rtf:::with_graphics_device(graphics::strwidth("title 1", units = "inches")),
80+
r2rtf:::with_graphics_device(graphics::strwidth("this is a sentence for title 2", units = "inches"))
8181
),
8282
size = 0.5
8383
)

tests/testthat/test-independent-testing-rtf_strwidth.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ tbl <- df |>
1515

1616
strw <- round(r2rtf:::rtf_strwidth(tbl), 5)
1717

18-
size8italic <- round(with_graphics_device(graphics::strwidth(
18+
size8italic <- round(r2rtf:::with_graphics_device(graphics::strwidth(
1919
"This is a long sentence",
2020
units = "inches",
2121
cex = 2 / 3,
2222
font = 3,
2323
family = "Times"
2424
)), 5)
2525

26-
bold <- round(with_graphics_device(graphics::strwidth(
26+
bold <- round(r2rtf:::with_graphics_device(graphics::strwidth(
2727
"third",
2828
units = "inches",
2929
cex = 2 / 3,

0 commit comments

Comments
 (0)