That bit is incorrect syntax.
Use this instead (even if the above works):
mutate(Wk = as.integer(Wk))