This file is indexed.

/usr/lib/R/site-library/RProtoBuf/NAMESPACE is in r-cran-rprotobuf 0.4.11-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
## Package has dynamic library
useDynLib("RProtoBuf", .registration=TRUE)

importFrom("methods", "new", "show", "as", "is")
importFrom("utils", "str", "packageDescription")
importFrom("stats", "update")
importFrom("tools", "file_path_as_absolute")
importFrom("RCurl", "basicTextGatherer", "curlPerform")
importFrom("Rcpp", "evalCpp")

exportClasses(

	# descriptors
	"Descriptor",
	"FieldDescriptor", "EnumDescriptor",
	"ServiceDescriptor", "MethodDescriptor",
	"FileDescriptor", "EnumValueDescriptor",

	# message
	"Message",

	# rpc
	"RpcHTTP",

	# virtual streams
	"ZeroCopyInputStream", "ZeroCopyOutputStream",

	# concrete implementations
	"ArrayInputStream", "ArrayOutputStream",
	"FileInputStream", "FileOutputStream",
	"ConnectionInputStream", "ConnectionOutputStream"

	)

exportMethods( "new", "[[", "[[<-", "$", "$<-", "show",
	"serialize", "as.character", "update",
	"has", "clone", "merge", "read", "readASCII", "bytesize",
	"length", "str", "isInitialized",
	"clear", "size", "size<-", "swap",
	"descriptor", "set", "fetch", "toString",
	"identical", "==", "!=", "all.equal", "add",
	"fileDescriptor", "name", "names", "flush", "close",
        "setExtension", "getExtension",

        "containing_type",
	"field_count", "nested_type_count", "enum_type_count",
	"field", "nested_type", "enum_type",

	# FieldDescriptor
	"is_extension", "number", "label",
	"is_required", "is_repeated", "is_optional",
	"has_default_value", "default_value",
	"message_type", "enum_type", "type", "cpp_type",

	# EnumDescriptor
	"value_count", "value",

	# ServiceDescriptor
	"method_count", "method",

	# MethodDescriptor
	"input_type", "output_type",

	# rpc
	"invoke",

	# streams
	"Next", "ByteCount", "BackUp", "Skip",
	"ArrayInputStream", "ArrayOutputStream", "FileInputStream", "FileOutputStream",
	"GetErrno", "SetCloseOnDelete",
	"ConnectionInputStream", "ConnectionOutputStream",
	"ReadRaw", "ReadString", "ReadVarint32",
	"ReadLittleEndian32", "ReadLittleEndian64", "ReadVarint64",
	"WriteRaw", "WriteString", "WriteLittleEndian32",
	"WriteLittleEndian64", "WriteVarint32", "WriteVarint64"


	)

export( "P", "readProtoFiles", "asMessage" )

if( exists( ".DollarNames", asNamespace("utils") ) ) importFrom( utils, .DollarNames )
S3method(.DollarNames, Message )
S3method(.DollarNames, Descriptor )
S3method(.DollarNames, EnumDescriptor )
S3method(.DollarNames, EnumValueDescriptor )
S3method(.DollarNames, FileDescriptor )
S3method(.DollarNames, FieldDescriptor )
S3method(.DollarNames, ServiceDescriptor )
S3method(.DollarNames, MethodDescriptor )
S3method(.DollarNames, ZeroCopyInputStream  )
S3method(.DollarNames, ZeroCopyOutputStream )

S3method( with, Message )
S3method( within, Message)

S3method( as.list, Message )
S3method( as.list, Descriptor )
S3method( as.list, EnumDescriptor )
S3method( as.list, FileDescriptor )
S3method( as.list, ServiceDescriptor )

# constants
exportPattern( "^TYPE_" )
exportPattern( "^CPPTYPE_" )
exportPattern( "^LABEL_" )

# copied from RProtoBufUtils
export( "serialize_pb", "unserialize_pb", "can_serialize_pb" )

# export( run_unit_tests )