We want to test

\[\begin{align} H_0: P &= \frac{18}{38} \\ H_a: P &> \frac{18}{38} \end{align}\]

And we can use binomial test and then find the p value, as follow

## [1] 0.001829548
## [1] The p value for this binomial test is 0.00182954809648374