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
Add check for overlapping files #169
Conversation
Very nice! I plan to give it a test run tomorrow. Thank you Andrea! |
Codecov Report
@@ Coverage Diff @@
## master #169 +/- ##
==========================================
+ Coverage 71.91% 72.06% +0.15%
==========================================
Files 7 7
Lines 445 451 +6
==========================================
+ Hits 320 325 +5
- Misses 125 126 +1
Continue to review full report at Codecov.
|
Hi @agila5 apologies for this long delay. I need stats19 to function better so will try to fix this first. As you have done a neat job on this, I will leave you to finish it off. Please see my changes in the same branch mainly to indicate where the checks are needed. You decide how you proceed, or if you are busy I will probably just move your neater checks into the Thank you,it is an annoying issue. |
Fixing the build... |
Hi @layik! Thanks for working again on this project, I totally forgot about this PR.
I'm sorry, but I'm not sure what to do. Do you want me to move the tests reported in the first comment into the package's tests? In any case, feel free to adjust the function(s)!
I just checked the GHA actions' errors, and I have no idea what's going on and I can't even understand which tests are failing 😅 Do you? If not maybe we can just close this PR and create a new one starting from the current master branch. |
@agila5 it passes on my local machine, you are right it is hard to read the logs. Leave it with me in terms of fixing the build and no do not close the PR as we have solved the issue twice over, so we will decide how to use them and then merge. Bear with me please. |
@agila5 now have a look |
Hi @layik! IMO there is a small problem with 1979 - 2004 range: # update pkgs
remotes::install_github("ropensci/stats19", ref = "fix_multiple_years")
#> Using github PAT from envvar GITHUB_PAT
#> Skipping install of 'stats19' from a github remote, the SHA1 (7a63b0cb) has not changed since last install.
#> Use `force = TRUE` to force installation
# tests
stats19:::check_year(1979:2018)
#> Year not in range, changing to match 2005:2014 data
#> [1] 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993
#> [16] 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2015 2016 2017
#> [31] 2018 Created on 2020-12-06 by the reprex package (v0.3.0) I think it should return Apart from that, I think you can use |
@agila5 I am ready to merge this if you are happy. Many thanks for the effort here makes my current work much easier. |
LGTM 👍 just need to remove the .travis.yml file and builds should be fine on master. Good to go from my perspective 🚀 |
Agree, happy to merge. |
Now on Master. Worth adding an element to the |
Done! |
Fixes #168. These are some tests with the "new" function:
Created on 2020-06-05 by the reprex package (v0.3.0)
I'm not sure if I should also add a message or a warning.