XML 42 R31.htm IDEA: XBRL DOCUMENT
v3.19.2

LEASES (Tables) | 6 Months Ended
--- | ---
Jun. 30, 2019
LEASES |
Schedule of operating leased assets and liabilities | ​
​ | ​ | ​ | ​ | ​ | ​
(in thousands) |  | Classification on the Consolidated Balance Sheet |  | June 30, 2019
Assets: | ​ | ​ | ​ | ​ | ​
Operating lease assets | ​ | Operating lease right-of-use assets | ​ | $ | 42,727
​ | ​ | ​ | ​ | ​ | ​
Liabilities: | ​ | ​ | ​ | ​ | ​
Current – operating leases | ​ | Current portion of operating leases | ​ | $ | 12,181
Non-current – operating leases | ​ | Long-term operating lease liabilities | ​ | ​ | 31,624
Total lease liabilities | ​ | ​ | ​ | $ | 43,805
​
Schedule of operating lease expense | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Classification on the Consolidated | ​ | Three months ended | ​ | Six months ended |
(in thousands) |  | Statements of Operations |  | June 30, 2019 |  | June 30, 2019 |
Operating lease cost | ​ | Selling, general and administrative expenses | ​ | $ | 3,904 | ​ | $ | 7,878 |
Short-term lease cost | ​ | Selling, general and administrative expenses | ​ | ​ | 2,142 | ​ | ​ | 3,916 |
Variable lease cost | ​ | Selling, general and administrative expenses | ​ | ​ | 26 | ​ | ​ | 52 |
Sublease income | ​ | Selling, general and administrative expenses | ​ | ​ | (18) | ​ | ​ | (36) | ​
Total lease cost | ​ | ​ | ​ | $ | 6,054 | ​ | $ | 11,810 |
Schedule of lease cost | ​
​ | ​ | ​ | ​ | ​
​ | ​ | Six months ended |
Other information: |  | June 30, 2019 |
Cash paid for amounts included in the measurement of lease liabilities – operating leases (in thousands) | ​ | $ | 6,992 |
ROU assets obtained in exchange for operating lease liabilities (in thousands) | ​ | $ | 6,559 |
Weighted average remaining lease term – operating leases | ​ | ​ | 5.5 | years
Weighted average discount rate – operating leases | ​ | ​ | 3.74 | %
Schedule of maturity of lease liabilities | ​
​ | ​ | ​ | ​
​ | ​ | Operating
Maturity of lease liabilities (in thousands) |  | Leases
2019 (excluding the six months ended June 30, 2019) | ​ | $ | 7,021
2020 | ​ | ​ | 11,900
2021 | ​ | ​ | 9,147
2022 | ​ | ​ | 6,370
2023 | ​ | ​ | 3,881
Thereafter | ​ | ​ | 10,868
Total lease payments | ​ | ​ | 49,187
Less: Amounts representing interest | ​ | ​ | (5,382)
Present value of lease liabilities |  | $ | 43,805
​

X
- Definition Tabular disclosure of schedule of operating lease expense. + References No definition available. + Details
Name: | res_ScheduleOfOperatingLeaseExpenseTableTextBlock
Namespace Prefix: | res_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of schedule of operating leased assets and liabilities. + References No definition available. + Details
Name: | res_ScheduleOfOperatingLeasedAssetsAndLiabilitiesTableTextBlock
Namespace Prefix: | res_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of lessee's lease cost. Includes, but is not limited to, interest expense for finance lease, amortization of right-of-use asset for finance lease, operating lease cost, short-term lease cost, variable lease cost and sublease income. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=77888426&loc=SL77918686-209980 + Details
Name: | us-gaap_LeaseCostTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_LeasesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of undiscounted cash flows of lessee's operating lease liability. Includes, but is not limited to, reconciliation of undiscounted cash flows to operating lease liability recognized in statement of financial position. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 842 -SubTopic 20 -Section 50 -Paragraph 6 -URI http://asc.fasb.org/extlink&oid=77888426&loc=SL77918701-209980 + Details
Name: | us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration