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

data_set column drop is not reported when item is recovered #1184

Open
kylebaron opened this issue Apr 6, 2024 · 0 comments
Open

data_set column drop is not reported when item is recovered #1184

kylebaron opened this issue Apr 6, 2024 · 0 comments
Assignees
Labels
Projects
Milestone

Comments

@kylebaron
Copy link
Collaborator

  1. You do get the message when you don't recover
  2. You don't get the message when you do recover
  3. It should be a warning or an error anyway
library(mrgsolve)
#> 
#> Attaching package: 'mrgsolve'
#> The following object is masked from 'package:stats':
#> 
#>     filter

mod <- house(end = 0)

data <- expand.ev(amt = 100, WTVC = "a")

mrgsim(mod, data)
#> [data-set] dropped column: WTVC (character)
#> Model:  housemodel 
#> Dim:    2 x 7 
#> Time:   0 to 0 
#> ID:     1 
#>     ID time GUT CENT RESP DV CP
#> 1:   1    0   0    0   50  0  0
#> 2:   1    0 100    0   50  0  0

mrgsim(mod, data, recover = "WTVC")
#> Model:  housemodel 
#> Dim:    2 x 8 
#> Time:   0 to 0 
#> ID:     1 
#>     ID time GUT CENT RESP DV CP WTVC
#> 1:   1    0   0    0   50  0  0    a
#> 2:   1    0 100    0   50  0  0    a

Created on 2024-04-06 with reprex v2.0.2

@kylebaron kylebaron self-assigned this Apr 6, 2024
@kylebaron kylebaron added the bug label Apr 6, 2024
@kylebaron kylebaron added this to the Next Version milestone Apr 6, 2024
@kylebaron kylebaron added this to Backlog in Development Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development
  
Backlog
Development

No branches or pull requests

1 participant