Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors with dplyr #42

Open
dohdoubleg opened this issue Jun 13, 2023 · 0 comments
Open

Errors with dplyr #42

dohdoubleg opened this issue Jun 13, 2023 · 0 comments

Comments

@dohdoubleg
Copy link

out <- simpop(nstu = 500, seed = 213, control = sim_control(nschls = 3))
Preparing student identities for 500 students...
Creating annual enrollment for 500 students...
Assigning 500 students to initial FRPL, IEP, and ELL status
Assigning initial grade levels...
Organizing status variables for you...
Assigning 500 students longitudinal status trajectories...
Sorting your records
Cleaning up...
Creating 3 schools for you...
Assigning 7020 student-school enrollment spells...
Simulating assessment table... be patient...
Simulating high school outcomes... be patient...
Changing number of groups in outcome simulation to match schools
Changing number of groups in outcome simulation to match schools
Changing number of groups in outcome simulation to match schools
Simulating annual high school outcomes... be patient...
Simulating postsecondary outcomes... be patient...
Error in mutate():
ℹ In argument: opeid = sample(...).
ℹ In group 1: sid = "006".
Caused by error in if (prob > 0.95) ...:
! the condition has length > 1
Run rlang::last_trace() to see where the error occurred.
Warning messages:
1: funs() was deprecated in dplyr 0.8.0.
ℹ Please use a list of either functions or lambdas:

Simple named list: list(mean = mean, median = median)

Auto named with tibble::lst(): tibble::lst(mean, median)

Using lambdas list(~ mean(., trim = .2), ~ median(., na.rm = TRUE))

ℹ The deprecated feature was likely used in the OpenSDPsynthR package.
Please report the issue to the authors.
This warning is displayed once every 8 hours.
Call lifecycle::last_lifecycle_warnings() to see where this warning was generated.
2: select_() was deprecated in dplyr 0.7.0.
ℹ Please use select() instead.
ℹ The deprecated feature was likely used in the OpenSDPsynthR package.
Please report the issue to the authors.
This warning is displayed once every 8 hours.
Call lifecycle::last_lifecycle_warnings() to see where this warning was generated.
3: group_by_() was deprecated in dplyr 0.7.0.
ℹ Please use group_by() instead.
ℹ See vignette('programming') for more help
ℹ The deprecated feature was likely used in the OpenSDPsynthR package.
Please report the issue to the authors.
This warning is displayed once every 8 hours.
Call lifecycle::last_lifecycle_warnings() to see where this warning was generated.
4: arrange_() was deprecated in dplyr 0.7.0.
ℹ Please use arrange() instead.
ℹ See vignette('programming') for more help
ℹ The deprecated feature was likely used in the OpenSDPsynthR package.
Please report the issue to the authors.
This warning is displayed once every 8 hours.
Call lifecycle::last_lifecycle_warnings() to see where this warning was generated.
5: In checkConv(attr(opt, "derivs"), opt$par, ctrl = control$checkConv, :
Model failed to converge with max|grad| = 0.00318682 (tol = 0.002, component 1)
6: mutate_() was deprecated in dplyr 0.7.0.
ℹ Please use mutate() instead.
ℹ See vignette('programming') for more help
ℹ The deprecated feature was likely used in the OpenSDPsynthR package.
Please report the issue to the authors.
This warning is displayed once every 8 hours.
Call lifecycle::last_lifecycle_warnings() to see where this warning was generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant