Skip to content

Commit

Permalink
remove hello world
Browse files Browse the repository at this point in the history
  • Loading branch information
nleroy917 committed Oct 22, 2024
1 parent b10f09c commit 16163bd
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 24 deletions.
9 changes: 4 additions & 5 deletions bindings/r/DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ Package: gtars
Title: Performance critical genomic interval analysis using Rust, in R
Version: 0.0.0.9000
Authors@R:
person("First", "Last", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "YOUR-ORCID-ID"))
Description: Performance critical genomic interval analysis using Rust, in R
License: `use_mit_license()`, `use_gpl3_license()` or friends to pick a
license
person("Nathan", "LeRoy", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0002-7354-7213"))
Description: Performance-critical tools to manipulate, analyze, and process genomic interval data. Primarily focused on building tools for geniml - our genomic machine learning python package.
License: `use_mit_license()`
Encoding: UTF-8
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.1
Expand Down
1 change: 0 additions & 1 deletion bindings/r/NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Generated by roxygen2: do not edit by hand

export(hello_world)
export(read_tokens_from_gtok)
export(write_tokens_to_gtok)
useDynLib(gtars, .registration = TRUE)
10 changes: 4 additions & 6 deletions bindings/r/R/extendr-wrappers.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,15 @@
#' @useDynLib gtars, .registration = TRUE
NULL

#' Return string `"Hello world!"` to R.
#' @export
hello_world <- function() .Call(wrap__hello_world)

#' Write tokens to a gtok file
#' @export
write_tokens_to_gtok <- function(filename, tokens) invisible(.Call(wrap__r_write_tokens_to_gtok, filename, tokens))
#' @param filename A string representing the path to the gtok file.
read_tokens_from_gtok <- function(filename) .Call(wrap__r_read_tokens_from_gtok, filename)

#' Write tokens to a gtok file
#' @export
read_tokens_from_gtok <- function(filename) .Call(wrap__r_read_tokens_from_gtok, filename)
#' @param filename A string representing the path to the gtok file.
write_tokens_to_gtok <- function(filename, tokens) invisible(.Call(wrap__r_write_tokens_to_gtok, filename, tokens))


# nolint end
11 changes: 0 additions & 11 deletions bindings/r/man/hello_world.Rd

This file was deleted.

3 changes: 3 additions & 0 deletions bindings/r/man/read_tokens_from_gtok.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions bindings/r/man/write_tokens_to_gtok.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bindings/r/src/rust/src/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ extendr_module! {
mod io;
fn r_read_tokens_from_gtok;
fn r_write_tokens_to_gtok;
}
}
Binary file removed bindings/r/test.gtok
Binary file not shown.

0 comments on commit 16163bd

Please sign in to comment.