XML 101 R36.htm IDEA: XBRL DOCUMENT
v3.19.3.a.u2

Leases (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2019
Leases |
Schedule of operating leased assets and liabilities | ​
​ | ​ | ​ | ​
(in thousands) |  | December 31,2019
Assets: |  | ​ |
Operating lease right-of-use assets | ​ | $ | 33,850
​ | ​ | ​ | ​
Liabilities: | ​ |  |
Current portion of operating leases | ​ | $ | 10,625
Long-term operating lease liabilities | ​ |  | 28,378
Total lease liabilities | ​ | $ | 39,003
Schedule of operating lease expense | ​
​ | ​ | ​ | ​
​ | ​ | Year ended
(in thousands) |  | December 31,2019
Operating lease cost | ​ | $ | 14,109
Short-term lease cost | ​ |  | 7,254
Variable lease cost | ​ |  | 521
Sublease income | ​ |  | (72)
Total lease cost | ​ | $ | 21,812
Schedule of lease cost | ​
​ | ​ | ​ | ​ | ​
Other information: |  |  | ​ |
Cash paid for amounts included in the measurement of lease liabilities – operating leases (in thousands) | ​ | $ | 12,863 | ​
ROU assets obtained in exchange for operating lease liabilities (in thousands) | ​ | $ | 7,992 | ​
Weighted average remaining lease term – operating leases | ​ |  | 5.5 years | ​
Weighted average discount rate – operating leases | ​ |  | 3.58 | %
Schedule of maturity of lease liabilities | ​
​ | ​ | ​ | ​
Maturity of lease liabilities (in thousands) |  | Operating Leases
2020 |  | ​ | 12,091
2021 |  | ​ | 9,623
2022 |  | ​ | 6,608
2023 |  | ​ | 4,153
2024 |  | ​ | 3,078
Thereafter |  | ​ | 9,132
Total lease payments |  | ​ | 44,685
Less: Amounts representing interest |  | ​ | (5,682)
Present value of lease liabilities | ​ | $ | 39,003

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