headr: Header of Rust file

Description Usage Examples

View source: R/headr.R

Description

These lines should be in the head of lib.rs file.

Usage

1

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 

#[macro_use]
extern crate rustr;
pub mod export;
pub use rustr::*;

// #[rustr_export]
pub fn say_hi()->RResult<String>{
    Ok("hello world".into())
}

## End(Not run)

rustr/rustinr documentation built on June 2, 2020, 2:05 a.m.