เริ่มต้นใช้งานเริ่มต้นใช้งานได้ฟรี

Set more package dependencies

Your boss has also requested that you add dplyr as a dependency, since many of the functions in dplyr can facilitate work with our package. dplyr also contains some additional helpful functionality that we want available whenever our package is loaded.

The usethis package has been loaded for you.

แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร

Developing R Packages

ดูคอร์ส

คำแนะนำการฝึกหัด

  • Add the dplyr package as a required dependency with version 1.1.0 or higher.

แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ

ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์

# Import dplyr >= 1.1.0
___
แก้ไขและรันโค้ด