HELP please - attempting a Kendall analysis for trend

R is not usually very happy with spaces in variable names You might want to try:

mkttest(`I 35-39`) 

Otherwise can you provide reproducible example (reprex)
FAQ: How to do a minimal reproducible example ( reprex ) for beginners ?