Skip to content

Commit 002e7ef

Browse files
committed
fix #94
1 parent 9e5f1ed commit 002e7ef

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

NAMESPACE

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ S3method(plot,rawrrSpectrum)
66
S3method(print,rawrrSpectrum)
77
S3method(summary,rawrrChromatogram)
88
S3method(summary,rawrrSpectrum)
9+
export(.isAssemblyWorking)
10+
export(.rawrrAssembly)
911
export(basePeak)
1012
export(buildRawrrExe)
1113
export(dependentScan)

R/dotNetAssembly.R

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
#R
22

3-
# Test if \code{rawrr.exe} .NET assembly is working
3+
#' Test if \code{rawrr.exe} .NET assembly is working
4+
#' The default when the assembly is not working is an
5+
#' error message.
6+
#' @param FUN function triggered. default is using the \code{stop} method
7+
#' @param exe path to the assembly. default is \code{rawrr:::.rawrrAssembly()}.
8+
#' @return TRUE if assembly is working
9+
#' @export
410
.isAssemblyWorking <-
511
function(FUN = stop, exe = .rawrrAssembly()){
612

@@ -51,7 +57,9 @@ rawrrAssemblyPath <- function(){
5157
}
5258

5359

60+
#' Helper function providing the pass to the rawrr assembly.
5461
#' @importFrom tools R_user_dir
62+
#' @export
5563
.rawrrAssembly <- function(){
5664
libdir <- tools::R_user_dir("rawrr", which='cache')
5765
d <- file.path(libdir, 'rawrrassembly')

0 commit comments

Comments
 (0)