BAAQMD / BAAQMD/tbltools

Cannot run tests

Open
#19 6 comments 0 reactions 0 assignees View on GitHub
check
Dominant language
R
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

#12 is turning out to be a much larger task that I realized. My current PR is turning into addressing a small subset of the problem (namely, use `@importFrom ` for all functions to remove ambiguity about which functions we really want to use. From there we can presumably move most of the functions from Depends to Imports).

But I just realized a very serious issue that is probably worth an Issue of its own. R CMD CHECK is halting because it simply cannot run the package's test suite at all:
```
> test_check("tbltools")
Error in file(file, ifelse(append, "a", "w")) :
cannot open the connection
Calls: test_check ... write.csv -> eval.parent -> eval -> eval -> write.table -> file
In addition: Warning message:
In file(file, ifelse(append, "a", "w")) :
cannot open file '/aim/users/ari/github/tbltools.Rcheck/tests/testthat/tests/testthat/helper-test_csv_data.csv': No such file or directory
Execution halted
```

I have not investigated this issue yet at all.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running R CMD CHECK and test_check("tbltools") to reproduce the failure. Investigate why write.csv cannot create tests/testthat/tests/testthat/helper-test_csv_data.csv, then confirm the test suite completes successfully without the missing-path error.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.