You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm trying to use the summarizeLoci() function but am getting an error: ! 'diversity' is not an exported object from 'namespace:sprex'
Full Backtrace below. I'm happy to send code and data files if that's helpful, just ask me for the first 16 lines of my CNMI.diversity.summary.R script (in case you ask for this in the distant future and I've forgotten where this came from!).
diversity.CNMI <- strataG::summarizeLoci(strat.gtype$CNMI)
Error in dplyr::summarize():
ℹ In argument: value = fun(.data$allele, ...).
ℹ In group 1: locus = "Haplotype".
Caused by error:
! 'diversity' is not an exported object from 'namespace:sprex'
Run rlang::last_error() to see where the error occurred.
rlang::last_error()
<error/rlang_error>
Error in dplyr::summarize():
ℹ In argument: value = fun(.data$allele, ...).
ℹ In group 1: locus = "Haplotype".
Caused by error:
! 'diversity' is not an exported object from 'namespace:sprex'
Backtrace:
strataG::summarizeLoci(strat.gtype$CNMI)
dplyr:::summarise.grouped_df(., value = fun(.data$allele, ...))
Hi,
I'm trying to use the summarizeLoci() function but am getting an error: ! 'diversity' is not an exported object from 'namespace:sprex'
Full Backtrace below. I'm happy to send code and data files if that's helpful, just ask me for the first 16 lines of my CNMI.diversity.summary.R script (in case you ask for this in the distant future and I've forgotten where this came from!).
Backtrace:
Run
rlang::last_trace()
to see the full context.The text was updated successfully, but these errors were encountered: