开始使用免费开始使用

Checking your package name

You'll now take on the role of a helpful coworker assisting your colleague with a task. Your colleague needs to work with the available package to perform several checks related to package names. You will guide them through the process of checking the validity of a given package name, verifying the availability of the name on CRAN, and analyzing the sentiment of the name.

The available package has been loaded for you.

本练习是课程的一部分

Developing R Packages

查看课程

练习说明

  • Perform checks for the package name gg_plot2, then review the output to see if it satisfies CRAN naming standards.
  • Perform checks for the package name unitConverter, then review the output to see if the name is available on CRAN.
  • Perform checks for the package name terrible, then review the output to check the sentiment for the name.

交互式实操练习

通过完成这段示例代码来试试这个练习。

# Check if gg_plot2 meets CRAN naming standards
___

# Check if unitConverter is available on CRAN
___

# Check sentiment of terrible
___
编辑并运行代码