Open barracuda156 opened 1 year ago
Yeah, I think know what this is. Part of the craziness with supporting annotations across subplots is factoring in padding/margins so that the right coordinates can be inferred. IIRC, R will bug out if certain fonts do not fit within those margins and I don't know if I can pre-specify a specific font.
Can you share some details? Was this a straight up stock run?
@miyamot0 I ran a version from CRAN, but I have just tried from the latest commit, and results are identical. (No patches were applied to the source, if that is what you mean.)
(These were in Rosetta; let me try on a native PowerPC machine, but normally they are identical in terms of failures.)
@miyamot0 Ha, no errors on PowerPC system! Rosetta errors are not worth wasting time on, to be honest. But I wonder what goes wrong on it. (PPC machine has a slightly newer GCC, 12.3.0, but this unlikely to matter here.)
R version 4.3.1 (2023-06-16) -- "Beagle Scouts"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: powerpc-apple-darwin10.0.0d2 (32-bit)
> library(testthat)
> library(fxl)
Loading required package: rlang
Attaching package: 'rlang'
The following objects are masked from 'package:testthat':
is_false, is_null, is_true
Loading required package: grImport
Loading required package: grid
Loading required package: XML
>
> test_check("fxl")
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 81 ]
> #
>
> proc.time()
user system elapsed
57.752 7.619 66.346
UPD. Hmm, why total number of tests differs? 81 pass here (0 everything else), 78 pass + 32 failures on Rosetta.
Hmm, I think I may have written tests poorly (still new to unit testing in R). I'll dig into this if there may be a concurrency issue. In my experience, variability between tests is usually my fault.
Thanks for the follow-up -- much appreciated!
@miyamot0 Thank you very much!
UPD. Native PowerPC build and tests appear good (see below).
P. S.
figure margins too large
is a known error (though its cause is unknown to me), so not specific to the package.