Skip to content

Commit

Permalink
remove RcppExports
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea-Havron-NOAA committed Nov 15, 2023
1 parent 892f623 commit d846ba4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 19 deletions.
7 changes: 0 additions & 7 deletions R/RcppExports.R

This file was deleted.

10 changes: 0 additions & 10 deletions src/RcppExports.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,10 @@ Rcpp::Rostream<true>& Rcpp::Rcout = Rcpp::Rcpp_cout_get();
Rcpp::Rostream<false>& Rcpp::Rcerr = Rcpp::Rcpp_cerr_get();
#endif

// clear
void clear();
RcppExport SEXP _FIMS_clear() {
BEGIN_RCPP
Rcpp::RNGScope rcpp_rngScope_gen;
clear();
return R_NilValue;
END_RCPP
}

RcppExport SEXP _rcpp_module_boot_fims();

static const R_CallMethodDef CallEntries[] = {
{"_FIMS_clear", (DL_FUNC) &_FIMS_clear, 0},
{"_rcpp_module_boot_fims", (DL_FUNC) &_rcpp_module_boot_fims, 0},
{NULL, NULL, 0}
};
Expand Down
3 changes: 1 addition & 2 deletions src/rcpp_interface.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,6 @@ void clear_internal() {
/*
* Clears the vector of independent variables
*/
// [[Rcpp::export]]
void clear() {
// rcpp_interface_base.hpp
FIMSRcppInterfaceBase::fims_interface_objects.clear();
Expand Down Expand Up @@ -322,7 +321,7 @@ RCPP_MODULE(fims) {
Rcpp::function("CreateTMBModel", &CreateTMBModel);
Rcpp::function("get_fixed", &get_fixed_parameters_vector);
Rcpp::function("get_random", &get_random_parameters_vector);
//Rcpp::function("clear", clear);
Rcpp::function("clear", clear);
Rcpp::function("clear_logs", clear_logs);
Rcpp::function("clear_fims_log", clear_fims_log);
Rcpp::function("clear_info_log", clear_info_log);
Expand Down

0 comments on commit d846ba4

Please sign in to comment.