-
Notifications
You must be signed in to change notification settings - Fork 128
r_top_level_exec() and r_parse_vector()
#112
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
Merged
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
2456203
r_top_level_exec() and r_parse_vector()
romainfrancois 1a74177
simplify r_top_level_exec() use with returned value
romainfrancois eac6bf1
minor code polish
romainfrancois 42bbcea
+ r_try_catch_error() around R_tryCatchError()
romainfrancois a9009ce
use baseenv()
romainfrancois e9633c1
RError
romainfrancois d635445
+ `assert_match!()`
romainfrancois f4555db
r_try_catch_error() handles closures that return `()` aka void
romainfrancois da76478
doc for r_try_catch_error
romainfrancois bfc70f3
some more documentation in r_try_catch_error, and better handle (I th…
romainfrancois 5ff86de
added the variants r_try_catch() and r_try_catch_finally()
romainfrancois c50691b
Merge branch 'main' into top_level_exec_109
romainfrancois 52af9b6
let og r_top_level_exec() for now, we can always bring it back
romainfrancois d478cc8
rewrite try_catch() on top of try_catch_finally
romainfrancois 7c162ff
+ trait ToRStrings
romainfrancois e7ce82a
r_string() for &str and String
romainfrancois ccd9d94
implement PartialEq(RObject == single string)
romainfrancois e56c117
Update extensions/positron-r/amalthea/crates/harp/src/exec.rs
romainfrancois 0f7cadc
Update extensions/positron-r/amalthea/crates/harp/src/exec.rs
romainfrancois c27b2da
use libR_sys::*
romainfrancois ca8811d
where
romainfrancois 1aa4547
extern "C"
romainfrancois 4ce42dc
+ article
romainfrancois 0ee77f3
remove MaybeSEXP
romainfrancois b78f4b6
+ test r_try_catch_error() returning Vec<&str>
romainfrancois 3d4e7af
use super::*;
romainfrancois bd66ff5
pub fn classes(&self) -> Result<Vec<String>>
romainfrancois 847375b
wrapping the conditionMessage() call in a tryCatch
romainfrancois feb6d4e
RError -> TryCatchError
romainfrancois cb9314e
- TopLevelExecError
romainfrancois 9d21f83
rework the Error enum so that try_catch return a Result<RObject>
romainfrancois 0c02605
Merge branch 'main' into top_level_exec_109
kevinushey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.