Check out example codes for "r double and triple colons". It will help you in understanding the concepts better.

Code Example 1

# Short answer:
# In R, these are used to access functions that are defined as part of
# the internal functions that a package uses. 

# Basic syntax:
package:::internal_function()

Learn ReactJs, React Native from akashmittal.com