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

Address #2008 #2010

Merged
merged 1 commit into from Nov 26, 2020
Merged

Address #2008 #2010

merged 1 commit into from Nov 26, 2020

Conversation

koheiw
Copy link
Collaborator

@koheiw koheiw commented Nov 24, 2020

Address #2008

@codecov
Copy link

codecov bot commented Nov 24, 2020

Codecov Report

Merging #2010 (45202e5) into master (96478db) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2010   +/-   ##
=======================================
  Coverage   90.15%   90.15%           
=======================================
  Files         102      102           
  Lines        6512     6513    +1     
=======================================
+ Hits         5871     5872    +1     
  Misses        641      641           
Impacted Files Coverage Δ
R/kwic.R 95.83% <100.00%> (+0.08%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 96478db...45202e5. Read the comment docs.

@@ -103,7 +103,8 @@ kwic.tokens <- function(x, pattern, window = 5,
names(pattern) <- pattern

valuetype <- match.arg(valuetype)
window <- as.integer(window)
window <- as.integer(window[1])
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we issue some warning, such as

'window' has length > 1 and only the first element will be used

@kbenoit
Copy link
Collaborator

kbenoit commented Nov 24, 2020

Once merged into master, we should merge this into the modularise branch as well, before deleting the branch.

@koheiw koheiw merged commit 033e463 into master Nov 26, 2020
@koheiw koheiw deleted the issue-2008 branch November 26, 2020 21:28
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.

None yet

2 participants