Skip to content
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

One test fails: system.file("TernaryApp", "app.R", package = "Ternary") == "" is not FALSE #87

Open
barracuda156 opened this issue May 3, 2024 · 1 comment

Comments

@barracuda156
Copy link

One test fails for me:

R version 4.4.0 (2024-04-24) -- "Puppy Cup"
Copyright (C) 2024 The R Foundation for Statistical Computing
Platform: powerpc-apple-darwin10.0.0d2 (32-bit)

> library("testthat")
> library("Ternary")
> 
> test_check("Ternary")
[ FAIL 1 | WARN 0 | SKIP 11 | PASS 107 ]

══ Skipped tests (11) ══════════════════════════════════════════════════════════
• On CRAN (11): 'test-Annotate.R:20:3', 'test-Contours.R:60:3',
  'test-Contours.R:236:3', 'test-Contours.R:246:3', 'test-Holdridge.R:27:3',
  'test-axis-rotate.R:66:3', 'test-axis-rotate.R:88:3', 'test-ternary.R:66:3',
  'test-ternary.R:127:3', 'test-ternary.R:132:3', 'test-ternary.R:144:3'

══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-shiny.R:2:3'): Submodule checked out ─────────────────────────
system.file("TernaryApp", "app.R", package = "Ternary") == "" is not FALSE

`actual`:   TRUE 
`expected`: FALSE

[ FAIL 1 | WARN 0 | SKIP 11 | PASS 107 ]
Deleting unused snapshots:
• Annotate/annotate-auto-locate.svg
• Contours/contours-skiwiff.svg
• Contours/density-contours-2.svg
• Contours/density-contours-3.svg
• Contours/density-contours.svg
• Contours/filledcontours.svg
• Contours/lo-res-density-contours.svg
• ternary/blank-down-anticlockwise.svg
• ternary/blank-down.svg
• ternary/blank-le-anticlockwise.svg
• ternary/blank-le.svg
• ternary/blank-right-anticlockwise.svg
• ternary/blank-right.svg
• ternary/blank-up-anticlockwise.svg
• ternary/blank-up.svg
• ternary/cartesian.svg
• ternary/colours-and-water.svg
• ternary/padding.svg
• ternary/plot-to-ternary-y.svg
Error: Test failures
Execution halted
@ms609
Copy link
Owner

ms609 commented May 6, 2024

Thanks for the report. It looks like you have not downloaded the TernaryApp submodule.

Did you use the args = "--recursive" argument when running

devtools::install_github("ms609/Ternary", args = "--recursive")

If that doesn't fix it, could you let me know how you downloaded the Ternary package?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants