df <- dataset_df(data.frame(x = 1))
creator(df) <- person("Jane", "Doe", role = "aut")
# Add a contributor
contributor(df, overwrite = FALSE) <-
person("GitHub",
role = "ctb",
comment = c(contributorType = "hostingInstitution")
)
# Replace all contributors
contributor(df) <- person("Support", "Team", role = "ctb")
# Inspect only contributors
contributor(df)
Run the code above in your browser using DataLab