Skip to content

Commit

Permalink
Remove Rcpp changes from this pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
nehill197 committed Jul 24, 2024
1 parent dfbcdca commit d82f44e
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 84 deletions.
2 changes: 0 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ Depends:
Imports:
chk,
lifecycle,
Rcpp (>= 1.0.12),
stats
Suggests:
aods3,
Expand All @@ -44,7 +43,6 @@ Suggests:
tidyr,
viridis,
withr
LinkingTo: Rcpp
Config/testthat/edition: 3
Encoding: UTF-8
Language: en-US
Expand Down
2 changes: 0 additions & 2 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,8 @@ export(xtr_sd)
export(zeros)
export(zscore)
import(chk)
importFrom(Rcpp,sourceCpp)
importFrom(stats,dbinom)
importFrom(stats,dlnorm)
importFrom(stats,dnbinom)
importFrom(stats,dnorm)
importFrom(stats,dpois)
useDynLib(extras)
7 changes: 0 additions & 7 deletions R/RcppExports.R

This file was deleted.

2 changes: 1 addition & 1 deletion R/dev.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#' dev_beta_binom(c(0, 1, 2), 1, 0.5, 0)
dev_beta_binom <- function(x, size = 1, prob = 0.5, theta = 0, res = FALSE) {
opt_beta_binom <- function(prob, x, size = size, theta = theta) {
-log_lik_beta_binom2(x = x, size = size, prob = prob, theta = theta)
-log_lik_beta_binom(x = x, size = size, prob = prob, theta = theta)
}
if (length(size) == 1) {
size <- rep(size, length(x))
Expand Down
2 changes: 0 additions & 2 deletions R/namespace.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#' @import chk
#' @importFrom stats dbinom dlnorm dnorm dpois dnbinom
#' @useDynLib extras
#' @importFrom Rcpp sourceCpp
NULL
36 changes: 0 additions & 36 deletions src/RcppExports.cpp

This file was deleted.

Binary file removed src/RcppExports.o
Binary file not shown.
Binary file removed src/extras.so
Binary file not shown.
34 changes: 0 additions & 34 deletions src/log_lik_beta_binom.cpp

This file was deleted.

Binary file removed src/log_lik_beta_binom.o
Binary file not shown.

0 comments on commit d82f44e

Please sign in to comment.