diff --git a/Cargo.toml b/Cargo.toml index 4a9ea53..c93ca0b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rdocs" -version = "0.1.42" +version = "0.1.43" edition = "2021" repository = "https://github.com/daniellga/rdocs/" diff --git a/rdocs/DESCRIPTION b/rdocs/DESCRIPTION index 896e025..26aeb92 100644 --- a/rdocs/DESCRIPTION +++ b/rdocs/DESCRIPTION @@ -1,6 +1,6 @@ Package: rdocs Title: Create Quarto documentation for R files from comments -Version: 0.1.42 +Version: 0.1.43 Authors@R: person("Daniel", "Gurgel", , "daniellga@gmail.com", role = c("aut", "cre")) Description: Generate R documentation in Quarto format based on comments in code files. diff --git a/src/main.rs b/src/main.rs index 6eaa605..3159bdb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -215,7 +215,7 @@ fn eval_examples(mut examples: Vec) { let error_message = String::from_utf8_lossy(&output.stderr); panic!( "Error running example:\n\n{}\n\n**********\n\nR code executed:\n\n{}", - error_message, output_text + error_message, example ); } }