Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
[R-package] Use Rprintf for logging in the R package (fixes #1440, fixes #1909) #2901
[R-package] Use Rprintf for logging in the R package (fixes #1440, fixes #1909) #2901
Changes from 34 commits
d23e086
7e03224
88b4950
f12eaa2
35e1b42
608f5a8
aa87eb6
11ea756
04b235b
f54d9ac
08756cd
631e2ed
1c2a732
c915389
eae206c
6038fb3
3e318d8
e0c4668
bd66c76
098b437
722b6bd
36b8fa6
cc35fff
6757692
f54abcb
5bfab69
1e658db
0ad7299
7337dcb
a8a2bbe
7b30a19
9adc7a9
20f8452
4375584
561ac4e
2403a61
5b60e8e
c9dd50d
c00c928
20aeb82
ab870d8
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had to rename this type to avoid conflicts with
R_xlen_t
defined in R's headers.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for those who are new to it:
R_NO_REMAP
: Do not change symbols likeRf_error()
toerror()
R_USE_C99_IN_CXX
: Make sure thatRvprintf()
is defined. (reference)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note:
R_USE_C99_IN_CXX
is defined inR_ext/Print.h
in R 4.0. Will this break when using R 4.0?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should agree on preprocessor directive indentations on a later PR. ping @guolinke @StrikerRUS @jameslamb for later.