# Create an object of class angle
x <- angle(80)
# Check its validity
check_angle_validity(x)
# Modify the 'rad_flag' attribute
attr(x,"rad_flag") <- 12.5
# Check its validity
check_angle_validity(x,TRUE)
Run the code above in your browser using DataLab