Ad
  • Custom User Avatar

    The description says to return 'null' in C#, 'None' in Rust, etc. It doesn't say anything about return types in R.

    I think your point stands for the 'R' version though, because it is disproportionately difficult in R for an 8 Kyu kata - no beginner R programmer is going to think of the difference in return types between 'return(NULL)' and 'return(NA)'.

    I agree with you that the R version really needs a hint to use an 'NA' return type.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Please use a spoiler flag, comments are visible to everyone by default.

  • Custom User Avatar

    I agree it's very expensive at runtime.

  • Custom User Avatar
  • Custom User Avatar

    I understand. I think there is a) not to reinvent the wheels, and b) write one's own code to show capability. Depending on the goals we may have different views, but I completely understand you.

  • Custom User Avatar

    You can comment in the already open issue. Or try to fix the problem with a fork.

  • Custom User Avatar

    Duplicate issue.

  • Custom User Avatar

    Thanks for giving the R translation a try!
    The bug that was creating the NA values should be fixed now.

  • Custom User Avatar

    I've never tried it but I think it should be possible to forfeit the kata and create translation for it then. However this probably means you will get no points for the translation, or for any future solution, I am not 100% sure on this though.

  • Custom User Avatar

    Don't be so "rigid" (as far as I know there is no R standard imposing the type of the return and strings are a natural way for communicating); you should be the only alleged specialist authorized to publish R translations:-). Nevertheless thank for your posts.

  • Custom User Avatar

    Not a kata issue. A kata author can ask for the return he wants and strings are correct returns.

  • Custom User Avatar

    Can you be more precise about standards? Issues must be clearly justified.
    Anyway it is impossible to delete a kata...

  • Custom User Avatar

    'alr approved some time ago'

  • Custom User Avatar

    Ok, it runs good, so I approved it.

  • Loading more items...