Skip to content

Commit

Permalink
Automated build.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeksterslab committed Apr 10, 2024
1 parent f0c6fa0 commit c126d3b
Show file tree
Hide file tree
Showing 63 changed files with 28 additions and 8,481 deletions.
20 changes: 0 additions & 20 deletions .Rbuildignore

This file was deleted.

6 changes: 0 additions & 6 deletions .github/linters/.lintr

This file was deleted.

Binary file removed .setup/build/cTMed.pdf
Binary file not shown.
Binary file removed .setup/build/cTMed_0.0.0.9000.tar.gz
Binary file not shown.
3 changes: 1 addition & 2 deletions .setup/cpp/cTMed-direct-vec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
#include <RcppArmadillo.h>
// [[Rcpp::depends(RcppArmadillo)]]
// [[Rcpp::export(.DirectVec)]]
double DirectVec(const arma::vec& phi_vec, const double& delta_t,
const int& from, const int& to, const arma::vec& med) {
double DirectVec(const arma::vec& phi_vec, const double& delta_t, const int& from, const int& to, const arma::vec& med) {
int p = std::sqrt(phi_vec.n_elem);
arma::mat phi = arma::reshape(phi_vec, p, p);
arma::mat d = arma::eye(p, p);
Expand Down
3 changes: 1 addition & 2 deletions .setup/cpp/cTMed-direct.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
#include <RcppArmadillo.h>
// [[Rcpp::depends(RcppArmadillo)]]
// [[Rcpp::export(.Direct)]]
double Direct(const arma::mat& phi, const double& delta_t, const int& from,
const int& to, const arma::vec& med) {
double Direct(const arma::mat& phi, const double& delta_t, const int& from, const int& to, const arma::vec& med) {
int p = phi.n_rows;
arma::mat d = arma::eye(p, p);
int m = med.n_elem;
Expand Down
3 changes: 1 addition & 2 deletions .setup/cpp/cTMed-indirect-vec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
#include <RcppArmadillo.h>
// [[Rcpp::depends(RcppArmadillo)]]
// [[Rcpp::export(.IndirectVec)]]
double IndirectVec(const arma::vec& phi_vec, const double& delta_t,
const int& from, const int& to, const arma::vec& med) {
double IndirectVec(const arma::vec& phi_vec, const double& delta_t, const int& from, const int& to, const arma::vec& med) {
int p = std::sqrt(phi_vec.n_elem);
arma::mat phi = arma::reshape(phi_vec, p, p);
// total effect
Expand Down
3 changes: 1 addition & 2 deletions .setup/cpp/cTMed-indirect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
#include <RcppArmadillo.h>
// [[Rcpp::depends(RcppArmadillo)]]
// [[Rcpp::export(.Indirect)]]
double Indirect(const arma::mat& phi, const double& delta_t, const int& from,
const int& to, const arma::vec& med) {
double Indirect(const arma::mat& phi, const double& delta_t, const int& from, const int& to, const arma::vec& med) {
int p = phi.n_rows;
// total effect
arma::mat total = arma::expmat(delta_t * phi);
Expand Down
4 changes: 1 addition & 3 deletions .setup/cpp/cTMed-mc-med.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
#include <RcppArmadillo.h>
// [[Rcpp::depends(RcppArmadillo)]]
// [[Rcpp::export(.MCMed)]]
arma::mat MCMed(const arma::mat& phi, const arma::mat& vcov_phi_vec_l,
const double& delta_t, const int& from, const int& to,
const arma::vec& med, const int& R, bool test_phi = true) {
arma::mat MCMed(const arma::mat& phi, const arma::mat& vcov_phi_vec_l, const double& delta_t, const int& from, const int& to, const arma::vec& med, const int& R, bool test_phi = true) {
arma::mat output(R, 4);
int p = phi.n_rows;
int q = p * p;
Expand Down
3 changes: 1 addition & 2 deletions .setup/cpp/cTMed-mc-phi-i.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
#include <RcppArmadillo.h>
// [[Rcpp::depends(RcppArmadillo)]]
// [[Rcpp::export(.MCPhiI)]]
arma::mat MCPhiI(const arma::mat& phi, const arma::mat& vcov_phi_vec_l,
bool test_phi = true) {
arma::mat MCPhiI(const arma::mat& phi, const arma::mat& vcov_phi_vec_l, bool test_phi = true) {
int p = phi.n_rows;
int q = p * p;
arma::mat phi_i = arma::mat(p, p);
Expand Down
3 changes: 1 addition & 2 deletions .setup/cpp/cTMed-mc-phi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
#include <RcppArmadillo.h>
// [[Rcpp::depends(RcppArmadillo)]]
// [[Rcpp::export(.MCPhi)]]
Rcpp::List MCPhi(const arma::mat& phi, const arma::mat& vcov_phi_vec_l,
const int& R, bool test_phi = true) {
Rcpp::List MCPhi(const arma::mat& phi, const arma::mat& vcov_phi_vec_l, const int& R, bool test_phi = true) {
Rcpp::List output(R);
int p = phi.n_rows;
int q = p * p;
Expand Down
3 changes: 1 addition & 2 deletions .setup/cpp/cTMed-med-s.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
#include <RcppArmadillo.h>
// [[Rcpp::depends(RcppArmadillo)]]
// [[Rcpp::export(.Meds)]]
const arma::mat Meds(const arma::mat& phi, const arma::vec& delta_t,
const int& from, const int& to, const arma::vec& med) {
const arma::mat Meds(const arma::mat& phi, const arma::vec& delta_t, const int& from, const int& to, const arma::vec& med) {
int t = delta_t.n_rows;
arma::mat output = arma::mat(t, 4);
int p = phi.n_rows;
Expand Down
4 changes: 1 addition & 3 deletions .setup/cpp/cTMed-med-vec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
#include <RcppArmadillo.h>
// [[Rcpp::depends(RcppArmadillo)]]
// [[Rcpp::export(.MedVec)]]
Rcpp::NumericVector MedVec(const arma::vec& phi_vec, const double& delta_t,
const int& from, const int& to,
const arma::vec& med) {
Rcpp::NumericVector MedVec(const arma::vec& phi_vec, const double& delta_t, const int& from, const int& to, const arma::vec& med) {
Rcpp::NumericVector output(3);
int p = std::sqrt(phi_vec.n_elem);
arma::mat phi = arma::reshape(phi_vec, p, p);
Expand Down
3 changes: 1 addition & 2 deletions .setup/cpp/cTMed-med.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
#include <RcppArmadillo.h>
// [[Rcpp::depends(RcppArmadillo)]]
// [[Rcpp::export(.Med)]]
Rcpp::NumericVector Med(const arma::mat& phi, const double& delta_t,
const int& from, const int& to, const arma::vec& med) {
Rcpp::NumericVector Med(const arma::mat& phi, const double& delta_t, const int& from, const int& to, const arma::vec& med) {
Rcpp::NumericVector output(4);
int p = phi.n_rows;
// total effect
Expand Down
11 changes: 0 additions & 11 deletions .setup/latex/bib/quarto.bib

This file was deleted.

6 changes: 0 additions & 6 deletions .setup/lint/.lintr

This file was deleted.

35 changes: 0 additions & 35 deletions CITATION.cff

This file was deleted.

1 change: 0 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,3 @@ Suggests:
testthat,
simStateSpace,
expm
RoxygenNote: 7.3.1
2 changes: 0 additions & 2 deletions LICENSE

This file was deleted.

21 changes: 0 additions & 21 deletions LICENSE.md

This file was deleted.

28 changes: 0 additions & 28 deletions NAMESPACE

This file was deleted.

133 changes: 0 additions & 133 deletions R/RcppExports.R

This file was deleted.

Loading

0 comments on commit c126d3b

Please sign in to comment.