Important MCQs R Package Development 13

The post is about MCQs R Package Development Quiz. The quiz also contains questions about git. There are a total of 17 questions and some of the questions have multiple correct answers. Let us start with MCQs R Package Development.

Online MCQs about R Package Development

1. Which of the following functions from the `devtools` package are you likely to use often, rather than just once per package, when building a package?

 
 
 
 

2. Which of the following files and folders are required in an R package?

 
 
 
 
 
 

3. For packages that require C code, what should be installed on your system?

 
 
 
 

4. Which of the following are good reasons for open-sourcing your software?

 
 
 
 

5. What does the ::: operator do?

 
 
 
 

6. In which sub-directory of an R package should tests be placed?

 
 
 
 

7. What is Git?

 
 
 
 

8. Which of the following statements correctly describes how R functions should be defined with the package directory?

 
 
 
 

9. What is the purpose of the Imports field in the DESCRIPTION file?

 
 
 
 

10. Which of the following are good reasons to build an R Package?

 
 
 
 

11. Which of the following files and subdirectories will be included in the initial package directory if you create a new package using the ‘create’ function from ‘devtools’?

 
 
 
 
 
 
 
 
 
 
 

12. The GNU General Public License is called a copyleft license because

 
 
 
 

13. What is a pull request on GitHub?

 
 
 
 

14. How is attaching a package namespace different from loading a namespace?

 
 
 
 

15. When a test fails in a call to expect_that(), what happens?

 
 
 
 

16. What is the purpose of the DESCRIPTION file in a package?

 
 
 
 

17. What does the is_a() function do in the context of testthat?

 
 
 
 

MCQs R Package Development with Answers

R FAQS Logo: MCQs R Package Development
  • Which of the following are good reasons to build an R Package?
  • Which of the following files and folders are required in an R package?
  • Which of the following files and subdirectories will be included in the initial package directory if you create a new package using the ‘create’ function from ‘devtools’?
  • Which of the following functions from the devtools package are you likely to use often, rather than just once per package, when building a package?
  • What is the purpose of the DESCRIPTION file in a package?
  • Which of the following statements correctly describes how R functions should be defined with the package directory?
  • How is attaching a package namespace different from loading a namespace?
  • For packages that require C code, what should be installed on your system?
  • What is the purpose of the Imports field in the DESCRIPTION file?
  • Which of the following are good reasons for open-sourcing your software?
  • When a test fails in a call to expect_that(), what happens?
  • What does the is_a() function do in the context of testthat?
  • In which sub-directory of an R package should tests be placed?
  • What is Git?
  • What is a pull request on GitHub?
  • The GNU General Public License is called a copyleft license because
  • What does the ::: operator do?

https://itfeature.com, https://gmstat.com

Leave a Reply

Discover more from R Language Frequently Asked Questions

Subscribe now to keep reading and get access to the full archive.

Continue reading