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. What is Git?

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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

 
 
 
 

5. What does the ::: operator do?

 
 
 
 

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

 
 
 
 

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

 
 
 
 

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 DESCRIPTION file in a package?

 
 
 
 

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

 
 
 
 

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

 
 
 
 

12. What is a pull request on GitHub?

 
 
 
 

13. 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?

 
 
 
 

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

 
 
 
 

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

 
 
 
 
 
 

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

 
 
 
 

17. 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’?

 
 
 
 
 
 
 
 
 
 
 

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