Skip to content

Commit

Permalink
updated version
Browse files Browse the repository at this point in the history
  • Loading branch information
abigailkeller committed Jan 15, 2025
1 parent 7e9eb9a commit 9570e50
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions .Rhistory
Original file line number Diff line number Diff line change
@@ -1,13 +1,3 @@
expect_error(mu_critical(model1$model),
paste0("If model_fit contains site-level covariates, values ",
"must be provided for cov_val"))
#5. cov_val is numeric, if provided
expect_error(mu_critical(model1$model, cov_val = c(TRUE, TRUE)),
"cov_val must be a numeric vector")
#6. Only include input cov_val if covariates are included in model
expect_error(mu_critical(model3$model, cov_val = c(0, 0)),
paste0("cov_val must be NULL if the model does not ",
"contain site-level covariates."))
#7. Only include input cov_val if covariates are included in model
expect_error(mu_critical(model1$model, cov_val = c(0, 0, 0)),
paste0("cov_val must be of the same length as the number of ",
Expand Down Expand Up @@ -510,3 +500,13 @@ lint('inst/stan/joint_continuous.stan')
lint('inst/stan/joint_count.stan')
lint('inst/stan/joint_count.stan')
lint_package()
library(lintr)
lint_package()
lint('inst/stan/functions/calc_loglik.stan')
lint('inst/stan/functions/calc_loglik.stan')
lint('inst/stan/functions/calc_loglik.stan')
lint('inst/stan/functions/calc_loglik.stan')
lint('inst/stan/functions/calc_loglik.stan')
lint('inst/stan/functions/calc_mu.stan')
lint('inst/stan/functions/calc_p11.stan')
devtools::install()
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"codeRepository": "https://github.com/ropensci/eDNAjoint",
"issueTracker": "https://github.com/ropensci/eDNAjoint/issues",
"license": "https://spdx.org/licenses/GPL-3.0",
"version": "0.2",
"version": "0.3",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down
2 changes: 1 addition & 1 deletion configure.win
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" -e "rstantools::rstan_config()"

# Add configuration needed for big object files
echo "PKG_CXXFLAGS += -Wa,-mbig-obj" >> ./src/Makevars.win
# echo "PKG_CXXFLAGS += -Wa,-mbig-obj" >> ./src/Makevars.win

0 comments on commit 9570e50

Please sign in to comment.