Error "non-numeric argument to binary operator" after changing the values within the Sample.csv file

I used the R package (CRAN - Package ArArRedux) and the example file "Sample.csv" provided to calculate ages of minerals.

But, whenever I changed the values within the "Sample.csv" and saved the file, the error appeared:
image
Does anyone know how to solve the problem?

I will really appreciate the help.

Please show the result of running

summary(X)

before and after you change the values in Sample.csv. I suspect one of your columns is changing from a numeric data type to characters.
That is, define masses, blanklabel, and Jpos, then run

X <- read("Samples.csv" masses, blanklabel, Jpos)
summary(X)
# Now edit Samples.csv

X <- read("Samples.csv" masses, blanklabel, Jpos)
summary(X)

Post the output of both summary() calls. Put three back ticks before and after the output, like this
```
output of summary(X)
```