Skip to content

Add a better way to set the base_display function#23

Merged
flying-sheep merged 2 commits intoIRkernel:masterfrom
jankatins:base_display
May 10, 2016
Merged

Add a better way to set the base_display function#23
flying-sheep merged 2 commits intoIRkernel:masterfrom
jankatins:base_display

Conversation

@jankatins
Copy link
Contributor

Adresses the problem in IRkernel/IRkernel#257 (comment)

The current way overwrites the function in IRkernel, but R CMD check complains about this. So add a way to use the options system to overwrite the function.
Should be a bit faster but fails more horrible if a user submits a wrong functions there...
@flying-sheep
Copy link
Member

good idea, but why _func? is there another jupyter.base_dispay option?

@takluyver
Copy link
Member

I think it's reasonable enough to add _func to the name to make it more obvious what it is. base_display would not be so clear.

@takluyver
Copy link
Member

(The Travis failure is just because master didn't have .travis.yml when it tested this PR, so it tried to run it with the default settings for a ruby project)

@jankatins jankatins closed this May 10, 2016
@jankatins jankatins reopened this May 10, 2016
@jankatins
Copy link
Contributor Author

closed/reopen to rerun travis

@takluyver
Copy link
Member

Oh, neat trick, I didn't know that that worked.

@flying-sheep flying-sheep merged commit 95a0514 into IRkernel:master May 10, 2016
@flying-sheep
Copy link
Member

great stuff

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.

3 participants