I am dabbling around writing my first R-package, and was wondering how one can add those yellow comment boxes that pop up when you hover over the function argument (when you've hit tab in the function). See here:
This is my code:
#' A web function
#'
#' This function allows you to call a website.
#' @param url put in a url
#' @keywords web
#' @export
#' @examples
#' webpage("google")
webpage <- function(url){
if(!is.character(url)){
url <- as.character(url)
} else{
utils::browseURL(paste0("https://www.", url, ".com", collapse = ","))
}
}
I use devtools with roxygen2 to document and build the package - all the files are there, and the package/function works once installed and loaded. The only thing is that the comment, #' @param url put in a url, I wrote does not show up as a yellow box.
Any idea(s) what the problem might be?

librarying your package again? - Vincent Bonhomme