Commit 22196fe
committed
test(plot): install sess Suggests so svglite path is tested
remotes::install_local() defaults to dependencies=NA, which installs
only Depends/Imports/LinkingTo. After svglite was moved from Imports to
Suggests (04ebd7d), the build stopped installing it, so the plot_latest
handler fell back to png and the session test's strict svglite assertion
failed on CI.
Pass dependencies=TRUE to the build's install_local call, matching
R CMD check semantics so optional (Suggests) functionality is exercised.
Also branch the test assertion on svglite availability so it stays
correct whether or not svglite is present.1 parent 26f3bc5 commit 22196fe
2 files changed
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2017 | 2017 | | |
2018 | 2018 | | |
2019 | 2019 | | |
2020 | | - | |
| 2020 | + | |
2021 | 2021 | | |
2022 | 2022 | | |
2023 | 2023 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
141 | 146 | | |
142 | 147 | | |
143 | 148 | | |
| |||
175 | 180 | | |
176 | 181 | | |
177 | 182 | | |
178 | | - | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
179 | 191 | | |
180 | 192 | | |
181 | 193 | | |
| |||
0 commit comments