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

Add R key words #19

Open
lloyddewit opened this issue Oct 5, 2023 · 1 comment
Open

Add R key words #19

lloyddewit opened this issue Oct 5, 2023 · 1 comment

Comments

@lloyddewit
Copy link
Owner

See IDEMSInternational/R-Instat#8565 for a partial test .

@lloyddewit
Copy link
Owner Author

lloyddewit commented Oct 18, 2023

See IDEMSInternational/R-Instat#8533 for script, posted on18/10/23, that contains with and within functions that have a block of code enclosed in curly brackets.

Suggested test:

        'TODO
        strInput = "Nightingale <- within(Nightingale, {" & vbLf &
                   "Total <- Disease + Wounds + Other" & vbLf &
                   "Disease.pct <- 100*Disease/Total" & vbLf &
                   "Wounds.pct <- 100*Wounds/Total" & vbLf &
                   "Other.pct <- 100*Other/Total" & vbLf &
                   "})" & vbLf
        strActual = New RScript.clsRScript(strInput).GetAsExecutableScript()
        Assert.Equal(strInput, strActual)

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