Skip to content

Commit

Permalink
no need to reference functions in own package with ::
Browse files Browse the repository at this point in the history
- made several function internal so this broke function
  • Loading branch information
andybeet committed Sep 17, 2024
1 parent 722c729 commit 54fe90b
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions R/get_comland_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -113,16 +113,19 @@ get_comland_data <- function(channel, filterByYear = NA,
filterByYear, filterByArea)

#Aggregate areas
if(aggArea) comland <- comlandr::aggregate_area(comland, userAreas,
areaDescription, propDescription,
useForeign, channel,
applyPropLand, applyPropValue)

if(aggArea) comland <- aggregate_area(comland,
userAreas,
areaDescription,
propDescription,
useForeign,
channel,
applyPropLand,
applyPropValue)
#Aggregate gears
if(aggGear) comland <- comlandr::aggregate_gear(comland, userGears, fleetDescription)
if(aggGear) comland <- aggregate_gear(comland, userGears, fleetDescription)

#Impute unknown catch variables
if(!is.null(unkVar)) comland <- comlandr::assign_unknown(comland, unkVar, knStrata)
if(!is.null(unkVar)) comland <- assign_unknown(comland, unkVar, knStrata)

comland$call <- call

Expand Down

0 comments on commit 54fe90b

Please sign in to comment.