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
Due to a change in R 4.1, the format() function no longer allows setting decimals = 0: https://stackoverflow.com/a/70674065/2029527. This leads to an error in the apa() function. It'd be nice to allow printing an integer when setting decimals = 0 in the apa() function.
> apa(84.5, decimals = 1)
[1] "84.5"
> apa(84.5, decimals = 0)
Error in prettyNum(.Internal(format(x, trim, digits, nsmall, width, 3L, :
invalid value 0 for 'digits' argument
The text was updated successfully, but these errors were encountered:
Due to a change in R 4.1, the
format()
function no longer allows settingdecimals = 0
: https://stackoverflow.com/a/70674065/2029527. This leads to an error in theapa()
function. It'd be nice to allow printing an integer when settingdecimals = 0
in theapa()
function.The text was updated successfully, but these errors were encountered: