Skip to content

Commit dea7838

Browse files
committed
Writing DESCRIPTION is simpler when pkgKitten is present
1 parent 186b7ea commit dea7838

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

R/RcppArmadillo.package.skeleton.R

+1-15
Original file line numberDiff line numberDiff line change
@@ -76,21 +76,7 @@ RcppArmadillo.package.skeleton <- function(name = "anRpackage", list = character
7676
splitname <- strsplit(author, " ")[[1]]
7777
x <- cbind(read.dcf(DESCRIPTION),
7878
"Imports" = sprintf("Rcpp (>= %s)", packageDescription("Rcpp")[["Version"]]),
79-
"LinkingTo" = "Rcpp, RcppArmadillo",
80-
"Authors@R" = sprintf("person(\"%s\", \"%s\", role = c(\"aut\", \"cre\"), email = \"%s\")",
81-
paste(splitname[-length(splitname)], collapse=" "),
82-
splitname[length(splitname)],
83-
email),
84-
"License" = license,
85-
"Title" = "Concise Summary of What the Package Does",
86-
"Description" = "More about what it does (maybe more than one line).",
87-
"Version" = "0.0.1")
88-
if (!is.na(githubuser)) {
89-
x <- cbind(x, matrix("", 1, 1, dimnames=list("", "URL")))
90-
x[1, "URL"] <- paste0("https://github.com/", githubuser, "/", name)
91-
x <- cbind(x, matrix("", 1, 1, dimnames=list("", "BugReports")))
92-
x[1, "BugReports"] <- paste0("https://github.com/", githubuser, "/", name, "/issues")
93-
}
79+
"LinkingTo" = "Rcpp, RcppArmadillo")
9480
write.dcf(x, file=DESCRIPTION)
9581
message(" >> added Imports: Rcpp")
9682
message(" >> added LinkingTo: Rcpp, RcppArmadillo")

0 commit comments

Comments
 (0)