Skip to content

Fix Preview Environment for multi-class objects #111#113

Merged
Ikuyadeu merged 1 commit intoREditorSupport:masterfrom
andycraig:issue-111-preview-env
Jul 19, 2019
Merged

Fix Preview Environment for multi-class objects #111#113
Ikuyadeu merged 1 commit intoREditorSupport:masterfrom
andycraig:issue-111-preview-env

Conversation

@andycraig
Copy link
Copy Markdown
Collaborator

Fixes #111

Solution as suggested by @JimmyZJX - thank you! (I've applied it to preview.ts rather than dist.js.)

What problem did you solve?

R: Preview Environment produces strange results when objects have more than one class.

Example (before PR) - note that time appears more than once in preview:

env1

(If you have)Screenshot

Example (after PR):

env2

@Ikuyadeu I can build vscode-R successfully on commit 6411a58 but not on commits after that. I get build errors and can't run the unit tests with this version too, but it seems to run and it's only a one-line change so I'm going ahead with the PR.

@Ikuyadeu
Copy link
Copy Markdown
Member

@andycraig Great works! Thank you for your contribution!
@JimmyZJX Thank you for your suggestion.

@Ikuyadeu Ikuyadeu merged commit b942d07 into REditorSupport:master Jul 19, 2019
@Ikuyadeu
Copy link
Copy Markdown
Member

I will publish this version after the security problem is solved.
It caused lodash package in mocha.

@andycraig
Copy link
Copy Markdown
Collaborator Author

@Ikuyadeu Thank you!

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.

Preview Environment R code failed on Sys.time() objects

2 participants