-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix failing tests on Linux #882
Conversation
no need to use randomly generated data
@Yuri05 For 3.6.3, I see: Error: package or namespace load failed for 'rClr':
.onLoad failed in loadNamespace() for 'rClr', details:
call: inDL(x, as.logical(local), as.logical(now), ...)
error: unable to load shared object 'c:/RLibrary/3.6/rClr/libs/x64/rClrMs.dll':
LoadLibrary failure: The specified procedure could not be found.
Error: package 'rClr' could not be loaded
In addition: Warning message:
package 'rClr' was built under R version 4.0.4
Execution halted How can we simultaneously test for two different R versions and not run into rClr issues? |
You need to install rclr per matrix and not once. Is it possible? (we have two versions of rclr specifically to support >=4 and <4 of R) |
ALternatively, we do not do this with matrix . |
I like it! |
@@ -20,12 +20,10 @@ environment: | |||
NOT_CRAN: true | |||
KEEP_VIGNETTES: true | |||
R_ARCH: x64 | |||
R_VERSION: "4.0.5" | |||
R_VERSION: 4.1.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's important to test on 4.1.0 now because visual regression tests are running only on R > 4.1
.
@msevestre You have the last laugh with snapshot test 😭 I don't see the difference between these. expectedactual (on AppVeyor)SVG shows difference here: < <line x1='577.99' y1='320.91' x2='690.32' y2='320.91' style='stroke-width: 2.1
: 3; stroke: #333333; stroke-linecap: butt; stroke-linejoin: miter;' />
> <line x1='577.99' y1='320.91' x2='690.32' y2='320.91' style='stroke-width: 2.1
: 3; stroke: #333333; stroke-linecap: butt;' /> |
@@ -28,11 +28,12 @@ Imports: | |||
stringr, | |||
tidyr, | |||
tlf | |||
Suggests: | |||
Suggests: | |||
ggplot2, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@IndrajeetPatil @PavelBal @msevestre
Do we want to have tlf
and patchwork
as mandatory prerequisites (like now) or is it sufficient to have them as optional prereqs?
I would vote for optional, because - except for plots - ospsuite
is still fully functional without those packages installed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Honestly speaking, I think this function (plotGrid()
) should live in tlf. It sticks out like a sore thumb in ospsuite at the moment. We can re-export it from ospsuite for convenience, but it doesn't feel like its natural home.
In any case, I can move tlf and patchwork to Suggests
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But I think this should be part of a separate PR. This is not in the scope of the current PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this function should live in tlf.
Which function?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
plotGrid()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a general plotting function with no ties to DataCombined
, and so more appropriate for tlf than ospsuite.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah ok. Yes, I agree. Would expect it in the tlf as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool, I will create a separate issue to track this, both here and in tlf.
NOTE
s andWARNING
s in R CMD Check #884