Skip to content

Commit

Permalink
Clean up forgotten links to nwfscAgeingError
Browse files Browse the repository at this point in the history
  • Loading branch information
kellijohnson-NOAA committed Dec 1, 2022
1 parent 17b427c commit a067169
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ Suggests:
testthat,
usethis
Remotes:
github::nwfsc-assess/nwfscSurvey,
github::nwfsc-assess/nwfscAgeingError
github::nwfsc-assess/nwfscSurvey
VignetteBuilder: knitr
Roxygen: list(markdown = TRUE)
RoxygenNote: 7.2.2
Expand Down
2 changes: 1 addition & 1 deletion R/checkLenAge.R
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ checkLenAge <- function(Pdata,
!is.na(Pdata[, age_col]), ]
estsall <- data.frame(Sex = sex_vec,
do.call("rbind", tapply(seq(NROW(tempdata)), tempdata[, sex_col],
function(x) exp(stats::optim(fn = nwfscAgeingError::estgrowth.vb,
function(x) exp(stats::optim(fn = nwfscSurvey::fit_vbgrowth,
par = log(pars_in),
hessian = FALSE,
Ages = tempdata[x, age_col],
Expand Down

0 comments on commit a067169

Please sign in to comment.