tests/testthat/_snaps/file.md

file_chmod / errors if given an invalid mode

Code
  file_chmod("foo", "g+S")
Condition
  Error:
  ! Invalid mode 'g+S'


Try the fs package in your browser

Any scripts or data that you put into this service are public.

fs documentation built on March 24, 2026, 9:08 a.m.