Skip to content

Commit

Permalink
linking issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mailund committed Dec 17, 2018
1 parent 33cb7ef commit f6ff13a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
2 changes: 0 additions & 2 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@ export(case_trfunc)
export(cases)
export(cases_expr)
export(cases_expr_)
export(check_const)
export(test_pattern)
export(test_pattern_)
export(transform_cases_function)
import(foolbox)
importFrom(magrittr,"%>%")
useDynLib(pmatch,c_check_const)
9 changes: 0 additions & 9 deletions R/case_func.R
Original file line number Diff line number Diff line change
Expand Up @@ -372,12 +372,3 @@ case_trfunc <- function(...) {
}


# I'm putting this here, since it is pattern matching C++ is likely to be used.

#' @useDynLib pmatch c_check_const
NULL

#' @export
check_const <- function(expr, const_name, val_expr) {
.Call(c_check_const, expr, const_name, substitute(val_expr), environment())
}

0 comments on commit f6ff13a

Please sign in to comment.