Skip to content

RMD - don't set undefined wd#914

Merged
renkun-ken merged 2 commits intoREditorSupport:masterfrom
ElianHugh:rmd-no_workspace-fallback
Dec 14, 2021
Merged

RMD - don't set undefined wd#914
renkun-ken merged 2 commits intoREditorSupport:masterfrom
ElianHugh:rmd-no_workspace-fallback

Conversation

@ElianHugh
Copy link
Copy Markdown
Collaborator

Closes #895

What problem did you solve?

  • Prevents setting the workspace rmd if the value is undefined
  • Fall back to document directory when workspace folder does not exist

(If you do not have screenshot) How can I check this pull request?

Without opening a workspace folder attempt to knit & preview an RMD file. Previously this would result in an error.

- Prevents setting the workspace rmd if the value is undefined
- Fall back to document directory when workspace folder does not exist
Comment thread R/rmarkdown/knit.R Outdated
@renkun-ken renkun-ken merged commit 350ae71 into REditorSupport:master Dec 14, 2021
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.

R markdown: Knit button and keyboard knit shortcut doesn't work

2 participants