The R-rating doesn't ban children under 17 from a movie, it restricts them to watching it with a parent or guardian (and includes a recommendation that parents and guardians learn more before allowing their child to see the movie).