ms609 / Ternary

Create ternary plots in R
https://ms609.github.io/Ternary/
32 stars 3 forks source link

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

Open barracuda156 opened 6 months ago

barracuda156 commented 6 months ago

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 commented 6 months ago

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?