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

0.0.2 rev and workflow integration #15

Closed
wants to merge 22 commits into from
Closed

0.0.2 rev and workflow integration #15

wants to merge 22 commits into from

Conversation

sigmafelix
Copy link
Collaborator

No description provided.

Insang Song added 9 commits September 20, 2023 10:44
- Packaging is based on litr markdown: tests.R has all tests
- Will edit test file names after all tests are added
- functions are reorganized in a fewer R files
- workflow yaml extension fix
- Added one test, fixed errors in previous tests
- While keeping litr Rmd, others were adjusted
- codecov edit to find if it works
- added stars in "Imports"
@sigmafelix
Copy link
Collaborator Author

Still figuring out YAML file settings for running the test.

@kyle-messier
Copy link
Collaborator

@sigmafelix I don't think we need the codecov.yaml - the test-coverage calls covr and should apply the codecov.io test coverage report.

Insang Song added 11 commits October 3, 2023 15:33
- removed codecov.yaml
- dependencies fix
- codecov path fix
- linebreak to whitespace
- tictoc in one of examples was removed; system.time() is in place
- poly_weight will contain numeric/integer fields only
- path argument in codecov does not accept dot as the current directory
- Deprecated functions were removed
- Example with implicit dependency is removed
- covr.io upload part was commented out from YAML
- Provisional. Subject to change.
- Last test-coverage passed, R CMD check failed
@sigmafelix
Copy link
Collaborator Author

R CMD check keeps failing. I will revisit the error codes and try to run R CMD check locally before push any changes.

@kyle-messier
Copy link
Collaborator

@sigmafelix The R CMD Check has 5 warnings which causes it to fail. It has lots of suggestions, but it is not always straight forward to debug. One thing that may alleviate a lot of this is proper folder naming. R CMD check will expect all of the R scipts to be in R with no other subfolders. As it is in scromps/R/ that be a source of many issues. One drastic option is to start from scratch with R package building (e.g. use_this) and let it build things as it expects from the ground up.

@kyle-messier
Copy link
Collaborator

@sigmafelix I see what you mean now. You have scomps set up as an R package within our repo name. Should I rename the repo to scomps and then you can make the necessary folder changes to move scomps to be the package and repo root?

- Added functions
- Fixed missing argument entries in Roxygen documentation
- Roxygen syntax error fixed
- Vignette naming convention
- Local R CMD check passed with three NOTEs, no WARNINGs/ERRORs
@codecov
Copy link

codecov bot commented Oct 4, 2023

The author of this PR, sigmafelix, is not an activated member of this organization on Codecov.
Please activate this user on Codecov to display this PR comment.
Coverage data is still being uploaded to Codecov.io for purposes of overall coverage calculations.
Please don't hesitate to email us at support@codecov.io with any questions.

@sigmafelix
Copy link
Collaborator Author

@Spatiotemporal-Exposures-and-Toxicology I think the repo name was properly reflected in *.yaml files for GitHub Actions. The push just I made returned no warnings when R CMD check was done in my local system. Let's see how it turns out. For naming the package, [s]calable [comp]utation for geo[s]patial health studies was my initial thought, but I will be happy to discuss a proper name.

@sigmafelix
Copy link
Collaborator Author

@Spatiotemporal-Exposures-and-Toxicology Finally the recent push passed the test. I will keep the directory layout of this repo as-is for the time being. I think I will do R CMD check locally to make the pull request process efficient from now on.

@kyle-messier
Copy link
Collaborator

@sigmafelix codecov.io is working, but I think the nested package is causing an issue with giving line-by-line coverage. Let me know if you can see the line coverage at codecov.io. See similar issue here:
https://community.codecov.com/t/codecov-website-can-not-show-line-by-line-coverage/3809/3

- all = are replaced with <-
- Other linting errors were fixed
  - function argument list and beginning bracket are separated
  - Exception
     - Two-space indentation
     - 80 character lines
@sigmafelix
Copy link
Collaborator Author

@Spatiotemporal-Exposures-and-Toxicology I think that is because I disabled covr::codecov run in the yaml file. I will close this one and reopen a PR with the full yaml file.

@sigmafelix sigmafelix closed this Oct 4, 2023
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

Successfully merging this pull request may close these issues.

2 participants