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

Added skip_absent arguement to colnamesInt() #6068

Merged
merged 29 commits into from
Apr 11, 2024

Conversation

Nj221102
Copy link
Contributor

@Nj221102 Nj221102 commented Apr 10, 2024

  • Description:
    • Introduces a new skip_absent argument to the colnamesInt() function.
    • When set to TRUE, allows the function to continue execution without throwing an error when some columns specified in the cols argument are not found.
    • Enhances flexibility for users by enabling them to proceed with operations even if some columns are absent.
    • Improves usability and robustness of the function.
  • Affected Files: colnamesInt.R
    Closes New argument skip_absent= for colnamesInt() not to error when some columns are not found #6067

@Nj221102 Nj221102 changed the base branch from colnamesInt to master April 10, 2024 16:03
NEWS.md Outdated Show resolved Hide resolved
src/utils.c Outdated Show resolved Hide resolved
@Nj221102 Nj221102 requested a review from MichaelChirico April 10, 2024 17:07
src/nafill.c Outdated Show resolved Hide resolved
src/utils.c Outdated Show resolved Hide resolved
src/utils.c Outdated Show resolved Hide resolved
src/utils.c Outdated Show resolved Hide resolved
src/utils.c Outdated Show resolved Hide resolved
src/utils.c Outdated Show resolved Hide resolved
@MichaelChirico
Copy link
Member

Looks basically good, mainly style points to tidy up & we can merge. Thanks!

Nj221102 and others added 2 commits April 11, 2024 09:17
Co-authored-by: Michael Chirico <[email protected]>
Co-authored-by: Michael Chirico <[email protected]>
src/utils.c Outdated Show resolved Hide resolved
src/utils.c Outdated Show resolved Hide resolved
src/utils.c Outdated Show resolved Hide resolved
@Nj221102 Nj221102 requested a review from MichaelChirico April 11, 2024 09:48
src/utils.c Outdated Show resolved Hide resolved
src/utils.c Outdated Show resolved Hide resolved
src/utils.c Outdated Show resolved Hide resolved
src/utils.c Outdated Show resolved Hide resolved
src/utils.c Outdated Show resolved Hide resolved
Copy link
Member

@MichaelChirico MichaelChirico left a comment

Choose a reason for hiding this comment

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

Thanks for your patience & efforts!

@MichaelChirico MichaelChirico merged commit 0711e40 into Rdatatable:master Apr 11, 2024
3 checks passed
@MichaelChirico
Copy link
Member

@Nj221102 please make branches in this repo instead of your fork, it makes life easier for everyone :)

@Nj221102 Nj221102 deleted the colnamesInt branch April 11, 2024 16:32
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.

New argument skip_absent= for colnamesInt() not to error when some columns are not found
2 participants